If I have the following line of code it compiles but it gives us a NULL memory error 
when running.

newRecordPtr=(OurStruct*)MemHandleLock(myRecordHandle);

The book I am reading is called " The Palm Programming -The Developer's Guide" by: 
Neil Rhodes and Julie McKeehan and it says to use 

newRecordPtr=MemHandleLock(myRecordHandle);

but it won't compile.  Any suggestions?  We are using this to try and make a new 
record in a database.


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