Hi,

I'm using CW6 with C++ (Cos I'm also trying my hand on Sybase Ultralite
which requires
c++ usage).

When I try compile I get the following error!

Error   : illegal implicit conversion from 'void *' to
'TableType *'
Main.cpp line 172   tableP = FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP,
MainRecordListTable));


Here's the code :

static void MainFormInit(FormPtr frmP)
{
   TablePtr tableP;
   tableP = FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP,
MainRecordListTable)); // error here!

   .. etc ..

Hope someone could help me. I'm stumped!

Thanks!


-- 
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