Is there a known issue with calling CreateWindowExA on Windows 8 (64-bit) for a 64-bit application?
Context: I'm using the FOX Toolkit (FOX STABLE 1.6.46). When compling and running the most trivial Hello World sample ("hello"), the call to CreateWindowExA
in file FXWindow.cpp:1345 returns a zero HWND handle (but GetLastError()
doesn't report an error). This only happens in one specific configuration:
OS | OS Platform | App compiled for | CreateWindowExA succeeds? |
Windows 7 | 32-bit | 32-bit | YES |
Windows 7 | 64-bit | 32-bit | YES |
Windows 7 | 64-bit | 64-bit | YES |
Windows 8 | 64-bit | 32-bit | YES |
Windows 8 | 64-bit | 64-bit | NO! (returns NULL) |
Is there anything different about CreateWindowExA
with the last configuration. Please note that the window procedure is the same in all cases, and that the messages it receives are the following, in that order:
WM_GETMINMAXINFO
(forwarded toDefWindowProc
)WM_NCCREATE
(forwarded toDefWindowProc
)
In the last configuration, it goes on with WM_NCDESTROY
and then CreateWindowExA
returns NULL.
In all other configurations, WM_NCCALCSIZE
is sent and finally WM_CREATE
.