Re: Bug in native user32

2005-07-26 Thread Boaz Harrosh
Filip Navara wrote: Maybe it's just me, but I thought this is well-known feature of the API. It's implemented in ReactOS for quite some time. *g* - Filip Yes! but the headers, are they fixed? What do you do in react OS do you have 2 different definitions for RegisterClassExW Free Life

Bug in native user32

2005-07-25 Thread Jacek Caban
Hello. Fixing MSHTML tests I found a bug in Windows. In tests I passed const WNDCLASSEX, to RegisterClassEx what should work as its declaration is: ATOM WINAPI RegisterClassExW(const WNDCLASSEXW *); Changing passed WNDCLASS to nonconst makes it works. I wrote small tests (attached) showing

Re: Bug in native user32

2005-07-25 Thread Filip Navara
Jacek Caban wrote: Hello. Fixing MSHTML tests I found a bug in Windows. In tests I passed const WNDCLASSEX, to RegisterClassEx what should work as its declaration is: ATOM WINAPI RegisterClassExW(const WNDCLASSEXW *); Changing passed WNDCLASS to nonconst makes it works. I wrote small tests

Re: Bug in native user32

2005-07-25 Thread Jacek Caban
Filip Navara wrote: Maybe it's just me, but I thought this is well-known feature of the API. It's implemented in ReactOS for quite some time. *g* - Filip It wasn't well-known for me. So if it's not yet implemented in Wine, probably it shouldn't be. Thanks, Jacek