Unable to use RegisterClass(&WndClass);

Dmitry Timoshkov dmitry at baikal.ru
Sun Aug 12 12:09:18 CDT 2001

Hello all.

According to MSDN all classes in Win32 are local.

My experiments under Win2000 show that user32 always turns off
CS_GLOBALCLASS (actually even "system" classes doesn't have it set)
and does fix hInstance to the module handle.

The attached patch tries to do the same in Wine.

Comments, suggestions?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.diff
Type: application/octet-stream
Size: 7583 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20010813/51e2ab4a/class.obj

More information about the wine-devel mailing list