On 2/20/05 6:24 PM, "Christian Schmitz" <support at monkeybreadsoftware dot de>
wrote:
>>>> Thanks Bjorn, that's a good tip.
>>>
>>> And it works :-)
>>
>> Of course it does.
>
> Sorry, but it does not work perfectly.
> If I pass an UTF16 REALstring, I can get folderitems with invalid path
> inside which are useless. I convert it to UTF8 now and the folderitem
> works.
One thing that should be pointed out is that when you build your string, you
should also copy an extra null byte (this only applies to UTF16 strings).
I'm guessing that will solve it for you.
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
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>
|