On Sep 28, 2006, at 1:36 PM, Phil M wrote:
In one of my declares, I am passing a MemoryBlock pointer to get a
string value. According to the Apple documentation, the return
value is a StringPtr.
How would I be able to get the String encoding and define it so
that REALbasic knows? Or do I just use the Encodings.SystemDefault
as a "best guess"?
It depends on the function, but if it's returning a StringPtr, then
Encodings.SystemDefault is usually the right choice.
Charles Yeomans
_______________________________________________
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>