At 1:09 PM -0500 2001/02/21, Laor, Boaz wrote:
>when i try to create a new record, i get the following error
>
>Error: cannot convert 'int' to 'void *' MainForm.c line 2304
>hrecord = DmNewRecord(accountDB,&cursorAccountDB,sizeof(accountRec));
>
>
>i assume the error is at &(cursorAccountDB), but its not making sense
>because i declared that as Int16 and initialized the value to zero upon
>opening/creating the data base.
What are the data type declarations for hrecord, accountDB, cursorAccountDB, and
accountRec? If the declarations seem correct, can you verify that the line of code
above is the correct line as reported in error by the compiler?
Regards,
Jim Schram
Palm Incorporated
Partner Engineering
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/