Dave,
> const char *LocationCString = REALCString(inParameters->Location);
> CFStringRef LocationCFString = CFStringCreateWithCString(NULL,
> LocationCString, REALGetStringEncoding(inParameters->Location));
You got the 2nd line wrong: To get the CString from a REALstring,
you must call LocationCFString->CString()
So, write:
CFStringRef LocationCFString = CFStringCreateWithCString(NULL,
LocationCString->CString(), ...
_______________________________________________
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>
|