NeHe base code error
When I try to compile the NeHe base code for window creation I get the following error:
The line of code:
wc.lpfnWndProc = (WNDPROC) WndProc;
The error:
''type cast'' : cannot convert from '''' to ''long (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)''
None of the functions with this name in scope match the target type
Could someone please help?
L.I.G. == Life Is Good
that error comes out when you put a callback in a class
I had a problem like that when I tried to make callbacks in a class
I had a problem like that when I tried to make callbacks in a class
(you can find me on IRC : #opengl on undernet)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement