wc.lpfnWndProc = (WNDPROC)d3d::WndProc;
and this line in your header file:
<ul class="bbcol decimal">LRESULT CALLBACK WndProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);Is never going to work unless you also add these lines in your CPP file:
<ul class="bbcol decimal">LRESULT CALLBACK WndProc(
HWND hwnd,
UINT msg,
WPARAM wParam,
LPARAM lParam)
{
return 0;
}
Please see this website for more information about what a WndProc is and why you need it for a Windows game:http://msdn.microsoft.com/en-us/library/windows/desktop/ms633573(v=vs.85).aspx