Advertisement

NeHe base code error

Started by February 03, 2001 12:23 PM
1 comment, last by Running_Wolf 23 years, 9 months ago
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
(you can find me on IRC : #opengl on undernet)
Advertisement
So just take out the CALLBACK code? Sorry, I''m not a C++ expert, would you mind explaining what a CALLBACK is?
L.I.G. == Life Is Good

This topic is closed to new replies.

Advertisement