I have a dll that has a function that requires a callback to be pasted to it. But I get this error when I try it:
This is the function decloration:Code:
error: invalid conversion from `LRESULT' to `LRESULT (*)(HWND__*, UINT, WPARAM, LPARAM)'
Is it even possible to do what I want, if so how?Code:
void Engine::WindowCreate(HINSTANCE hinst, LRESULT CALLBACK WindowProcedure)