At 7:25 PM -0500 2002/03/12, Nicklas W Bjurman wrote: > >> > Also how does programs that is stored on a card work... I have heard >> > they copy themself to the regular memory... Thought if I have a 5 Mbyte >> > program and only have like one 1 Mbyte left in the odinary memory, will >> > I not be able to run that program? >> >> This is correct. > >But if I just want to store, a huge database like a dictionary and have the program >still on the main memory. >Will palm download the database to the man memory and then upload it back or can you >like read and edit files on the card if the aren't a program?
Read the docs! ;o) Expansion cards (other than Handspring's Springboard modules) are formatted as a file system. The VFS manager (see Palm OS 4.0 Reference for details) allows you to access files on these expansion cards via file system APIs. So yes, you can read and edit files on the card without copying the entire thing into internal RAM. However, you cannot use the Palm DmXXX APIs, because those are implemented using the Memory Manager subsystem and are therefore a completely different beast. Note that nearly all expansion cards use a serial hardware interface and are *not* directly memory-map addressable. This is the principle reason why the DmXXX APIs cannot be used with expansion cards. Regards, Jim Schram PalmSource Inc. Partner Engineering -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
