I want to "wincl.lpfnWndProc = &WindowProcedue", but I'm getting really complicated errors that I kinda understand. They seem to say what I'm doing is forbidden, is there another way to do it?(I Googled, found this: [33] Pointers to member functions ..Updated!.., C++ FAQ Lite, but I really don't like that solution.Code:class Window{ public: Message Msg; Window(HINSTANCE hInstance, LPSTR lpstrTitle, HWND hwndParent, HBRUSH hbrBackground, DWORD dwStyle, DWORD dwExStyle, int width, int height, int x, int y); private: LRESULT CALLBACK WindowProcedure(HWND, UINT, WPARAM, LPARAM); };)



LinkBack URL
About LinkBacks
) 




The old was one was getting old.