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;
‘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?