Hi. I tried this:
Code:class appl{ public: LRESULT CALLBACK thecrew(HWND,MSG,LPARAM,WPARAM){ // however, I planned to make this my program's WndProc} }; int WinMain( // ... { WNDCLASSEX wncl; // Now: this is my problem: wncl.lpfnWndProc=appl::thecrew; /*the compiler doesn't accept the command above I also tried this: */ int WinMain(// ... { WNDCLASSEX wncl; appl applclass; wncl.lpfnWndProc=applclass.thecrew; /*the compiler doesn't accept this either. So: It's my compiler's fault, isn't it? */