On Jun 07, 2006, at 02:50 UTC, RBNUBE wrote:

> I've been looking into this, and I haven't seen anyone mention base 64
> encoding.

No?  That's the standard solution for storing a file reference in a text file 
or database -- EncodeBase64 the GetSaveInfo, and in reverse, DecodeBase64 and 
pass it to GetFolderItem.

> Any suggestions on how to improve this--such as avoiding encoding issues?

Since the GetSaveInfo is binary data, there are no encoding issues.

But you WILL probably get into trouble if you skip the 
EncodeBase64/DecodeBase64 step, as you're doing here.  Write out 
EncodeBase64(data), and when reading, set data to DecodeBase64(rowFromFile).  
Don't try to store binary data in a text file.  (Of course if you make a binary 
file, you can skip the base 64 encoding.)

Best,
- Joe


--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to