M
WNDPROC definiert?
vielleicht noch casten
CallWindowProc((WNDPROC)userWindowProc, ...
STRICT definiert oder nicht
msdn schrieb:
If STRICT is defined, the lpPrevWndFunc parameter has the data type WNDPROC. The WNDPROC type is declared as follows:
LRESULT (CALLBACK* WNDPROC) (HWND, UINT, WPARAM, LPARAM);
If STRICT is not defined, the lpPrevWndFunc parameter has the data type FARPROC. The FARPROC type is declared as follows:
int (FAR WINAPI * FARPROC) ()