getting an embedded ie browser to work

Dmitry Timoshkov dmitry at baikal.ru
Thu Mar 21 00:57:33 CST 2002


"Michael Cardenas" <michael.cardenas at lindows.com> wrote:

> >>> 08d10f38:Call 
> >>> kernel32.WideCharToMultiByte(00000000,00000000,405b54f4 L"Internet 
> >>> Explorer_Hidden",ffffffff,405b52a0,00000207,00000000,00000000) 
> >>> ret=70bd1cbf
> >>> 08d10f38:Ret  kernel32.WideCharToMultiByte() retval=00000019 
> >>> ret=70bd1cbf
> >>
> > i'm not terribly familiar with asm in gcc. does strlenW look like it 
> > might not return the right value if there's a _ in the string?
> >
> I tried an isolated test case and strlenW works fine. I'm going to try 
> to see if another string is somehow getting passed to it.  ???

I don't see any problem with the above trace. "Internet Explorer_Hidden" has
length 24 + '\0' = 25. WideCharToMultiByte() has returned 0x19 == 25 decimal.
Why did you conclude that '_' can't be translated from unicode to ANSI?

-- 
Dmitry.






More information about the wine-devel mailing list