Re: EuCOM : Attn Matt : String Return Value
- Posted by Bernie Ryan <xotron at bluefr??.com> Oct 06, 2007
- 705 views
Matt Lewis wrote: > > > Again, I can't explain the behavior... > Matt: I'am confused by your alloc_bstr() in unicode.ew file Here you call the ansi_to_unicode() and in that function you add two extra bytes then when you peek you ignore them and return just the string in a sequence. str = ansi_to_unicode( str ) & 0 But on the return of the unicode sequence you are just appending a single NULL. Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan