Hi Ray,

You don't write to the memory module.  And, for good measure, you should
always do a DmWriteCheck to make sure you can write before you do a
write to a database.  That way, if it's possible to write you do, and if
it's not possible you don't.  And you can at least decide what you want
to do from there.

Hope this helps,

DeAnna

-----Original Message-----
From: Ray Marshall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 1:13 PM
To: Palm Developer Forum
Subject: Memory modules


Can anyone explain how memory modules work under the Palm OS? I've tried
to
find good documentation on this subject but haven't been able to get
clear
answers. I recently got a report that my application isn't working quite
right when my database files are on a memory module. Sure enough, I
bought a
Handspring 8MB memory module and I can't write to the module. The weird
thing is that when I try to open the database with dmModeReadWrite
access it
returns a valid DmOpenRef. If I can't write to the database, it should
return an error! It's not until I go and try to create a new handle in
the
database that I get a failure.

So the questions are:

How do you write to a memory module?
Can you assume that anything that is not at card 0 is not writable?
What's the best way to determine if you can or can't write to a card if
the
above isn't true?

Thanks in advance,
//Ray


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

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