Re: instance problem in CreateWindowEx{A,W,16}

2003-12-28 Thread Dmitry Timoshkov
"Peter Oberndorfer" <[EMAIL PROTECTED]> wrote: > First i create a window with CreateWindowEx and pass 0 as instance. > When trying to read the instance with GetWindowLong(hWnd,GWL_HINSTANCE) > # Wine returns 0 as passed to the function. > # Win 98 returns 0x40 which is what GetModuleHandle( N

Re: instance problem in CreateWindowEx{A,W,16}

2003-12-28 Thread Mike Hearn
On Sat, 2003-12-27 at 18:39, Peter Oberndorfer wrote: > Hello > Trying to run PEview.exe i found a problem. > > First i create a window with CreateWindowEx and pass 0 as instance. > When trying to read the instance with GetWindowLong(hWnd,GWL_HINSTANCE) > # Wine returns 0 as passed to the functio

instance problem in CreateWindowEx{A,W,16}

2003-12-27 Thread Peter Oberndorfer
Hello Trying to run PEview.exe i found a problem. First i create a window with CreateWindowEx and pass 0 as instance. When trying to read the instance with GetWindowLong(hWnd,GWL_HINSTANCE) # Wine returns 0 as passed to the function. # Win 98 returns 0x40 which is what GetModuleHandle( NULL )