Re: EuCOM : Attn Matt : String Return Value

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu