-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CreateWindowEx #810
Comments
I tried replacing default with GetWindowSafeHandle() but no luck private static SafeHandle GetWindowSafeHandle()
{
return null;
} Also tried null, which it accepts, but still Error 1401. |
I don't know what you mean by replacing default with GetWindowSafeHandle which just returns null. That doesn't sound like a change at all. And where did you make this change? |
It looks like #760 probably regressed this by passing in -1 for hMenu instead of 0. I'll look more into this. |
CreateWindowEx is returning a zero handle with the following output...
An unhandled exception of type 'System.InvalidOperationException'
Failed to create window class. Error: 1401
// error 1401 / 0x579 ERROR_INVALID_MENU_HANDLE
I'm passing default as the menu handle. I don't see a problem with that, it's what I've been using.
Update:
OK :
0.2.63
0.2.104
NOT WORKING:
0.2.138
0.2.158
The text was updated successfully, but these errors were encountered: