William Yu <william at realsoftware dot com> wrote:
> 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).
Is there a logical reason for this?
I copy an extra byte now and the problem is solved, except that
len(s)=lenb(s)*2+1 now which I'm not sure may make trouble.
PS: Only on Windows, this is necessary, or?
Mfg
Christian
--
Nine thousand functions in one REALbasic plug-in. The MBS Plugin.
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
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>
|