Hi,

I need to load data to a table. I have followed the
exact coding provided in the CodeWarrior tutorials.
Only thing i haven�t included is that the Category
details in the ApplicationInfo block. Since i dont
need to deal with categories i have not include that
part.


When drawing data in a table we are suppose to
implement the callback procedure for:

TblSetCustomDrawProcedure (TablePtr table,Word column,
VoidPtr drawCallback)


I have included the exact coding used in CodeWarrior
tutorials for this routine. Also I�m using SDK 3.5
therefore i have included the "PalmCompatibility.h"
header to convert the old data types.


But when i try to compile it gives me this ERROR.

Error : cannot convert
'void (*) (void *, unsigned short, unsigned
short,struct RectangleType *)' to
'void (*) (void *, short, short,struct RectangleType
*)'


Can anyone tell why its giving me this error message.
Cus I don�t see anything wrong in the coding other
than something to do with the new data types.


Regards

Dhanushka.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to