At 11:55 AM 7/14/2004, you wrote:
Hi,

Im creating a database using DmCreateDatabase. I wanna know the result Err of the function to know when the error is memErrCardNotPresent, but, when i put a invalid card and call DmCreateDatabase the application stop and crash.

That error has nothing to do with expansion cards, like SD cards or Memory Sticks. Those are accessed using the VFS APIs. The "card" referred to here is the internal memory card, a concept from the original Pilot. This value is always 0 except on the Handspring Visors line where databases on a plugin memory module would be on card 1.



-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/



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

Reply via email to