>how can I save this whole string when I use a reference to it (Char*).

I'm not positive I know what you're asking, but in case I do, 
assuming you have space in your record, just do

DmWrite ( RecordPtr, ByteOffsetInRecord, StringPtr, StrLen (StringPtr) + 1 )

You have to save the string contents (preferably with the terminating 
NULL char). There's no way to save the string pointer and have it be 
valid after you quit and relaunch.

Regards,
Steve Mann
-- 
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461              805.784.9462 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com

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