I'll bet you have the C++ compiler options turned on. Try:

PackedChemical *packedChemical = (PackedChemical *)MemHandleLock(h);

-----Original Message-----
From: Nicholas Breau <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Wednesday, April 05, 2000 2:00 PM
Subject: simple error, need help


>I'm writting my first palm database application, and I'm trying to populate
>a list with data from a database, when I try compiling the code I get the
>error message on the following line
>
>VoidHand h = DmQueryRecord(gChemicalDB, index);
>PackedChemical *packedChemical = MemHandleLock(h);   <-- this line causes
>error
>
>"illegal implicit conversion from Void * to packedChemical *"
>
>
>I'm using an example in the Oreilly book, and it's pretty much the same
>code....
>
>Nick.
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to