<div>This is pretty crazy. I ran into this working on my Win64 x86_64 patch. In GLW_CreateWindow(), the following call fails:</div>
<div>&nbsp;</div>
<div>g_wv.hWnd = CreateWindowEx(<font size="2">exstyle, WINDOW_CLASS_NAME, WINDOW_CLASS_NAME, stylebits, x, y, w, h, NULL, NULL, g_wv.hInstance, NULL);</font></div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">But, if I insert a call to GetLastError() immediately afterwards, I get a return value of 0 (i.e. no error). I have tried changing the window class name in the RegisterClass() and CreateWindowEx() calls, changing the style flags, etc. Regardless of what I have tried, the call fails. I have checked the various WNDPROC functions to make sure that there is a call to DefWindowProc(). I am really perplexed as the console CreateWindow() call works fine. The call fails in both the 32-bit and 64-bit builds and this was not a function I changed for my port.
</font></div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">I am just curious if anyone has run into something like this before or knows of something else to try.</font></div>
<div><font size="2"></font>&nbsp;</div>
<div><font size="2">James</font></div>