1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24:
class Window{ private: Window(); Window(Window& copy); ~Window(); HGLRC hRC; HDC hDC; HWND hWnd; HINSTANCE hInstance; LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); public: inline static Window& getInst(){static Window instanz; return instanz;} bool createwindow(...){ WNDCLASS wc; ...... wc.lpfnWndProc = (WNDPROC) this->WndProc; //hier fehler ...... } };
1:
error: argument of type `LRESULT (Window:smiley(HWND__*, UINT, WPARAM, LPARAM)' does not match `LRESULT (*)(HWND__*, UINT, WPARAM, LPARAM)'
wc.lpfnWndProc = (WNDPROC*) this->WndProc;
error: argument of type `LRESULT (Window:smiley(HWND__*, UINT, WPARAM, LPARAM)' does not match `LRESULT (**)(HWND__*, UINT, WPARAM, LPARAM)'
Impressum Sponsored and Supported by Tobias Schwind NeXuS, Konspirativer NeXuS der Macht & The Higher Community unterliegen dem Copyright von Tobias Schwind