Why CreateWindowEx() function failed on 64 Bit window XP
-
Hi I am using CWindowImpl::create() API which internally call CreateWindowEx() method. When I test this API of win32 OS. It works fine, but when I test on 64 Bit OS above API failed
-
What was the value returned by GetLastError()?[^] Best Wishes, -David Delaune
-
What was the value returned by GetLastError()?[^] Best Wishes, -David Delaune
-
application get crash in CreateWindowEx() function on 64 Bit Windows XP. Is there any setting required to work CreatewindowsEx() function in 64 Bit windows.
am 2009 wrote:
Is there any setting required to work CreatewindowsEx() function in 64 Bit windows.
No it works the same. The error code you recieved would imply that something may be wrong with the WNDCLASS Structure[^]. Make sure that you are initializing it to zero:
WNDCLASS yourclass = {0};
The error code may also be caused by using a 32 bit DWORD parameter rather than a DWORD_PTR. Rules for Using Pointers[^] Best Wishes, -David Delaune