[Bug 10961] application made using a compiler/embedder fails to start

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 1 16:17:53 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=10961





--- Comment #10 from Kirill K. Smirnov <lich at math.spbu.ru>  2008-01-01 16:17:52 ---
It is not an hInstance problem.

>[code]
>CreateWindowEx(
>                dwExStyle,
>                pszClass,
>                szWindowName,
>                dwStyle ? dwStyle : DEFAULT_WIN_STYLE,
>                xPos == WBC_CENTER ? xPos : (xPos < 0 ? CW_USEDEFAULT : xPos),
>                yPos == WBC_CENTER ? yPos : (yPos < 0 ? CW_USEDEFAULT : yPos),
>                nWidth <= 0 ? CW_USEDEFAULT : nWidth,
>                nHeight <= 0 ? CW_USEDEFAULT : nHeight,
>                pwboParent ? pwboParent->hwnd : NULL,
>                NULL, hAppInstance, NULL);
>[/code]

Here, as I saw in the trace log, zero is passed as pszClass, and this is
invalid. There is definitely problem with registering window class.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list