Probleme mit CallWindwoProc - lpPrevWndFunc
-
habe ne fehlermeldung, die ich irgendwie nicht wegkriege.. warscheinlich bin ich zu blöd, oder noch zu verschlafen..

ich hoffe, jemand von euch kann mir helfenstatic WNDPROC userWindowProc = NULL; ... ... CallWindowProc(userWindowProc, hwnd, msg, wParam, lParam);[C++ Fehler] SDL_dibevents.c(189): E2342 Keine Übereinstimmung des Typs beim Parameter 'lpPrevWndFunc' ('int (__stdcall *)()' erwartet, 'int *' erhalten)
-
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) ()