I just bought Jonathan S. Harbours book called Beginning Game Programming Third Edition.
And already in the beginning... i get two errors that says identifier not found.
[source lang="cpp"]#include <Windows.h>int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){ MSG msg; MyRegisterClass(hInstance); if(!InitInstance (hInstance, nCmdShow)) return FALSE; while(GetMessage(&msg, NULL, 0, 0)) { TranslateMessage(&msg); DispatchMessage(&msg); } return msg.wParam;}[/source]
Its the "MyRegisterClass" and "InitInstance" i get the red line below the text, and it says identifier not found.
Im using vc++ express 2010 and im sure i made everything correct according to the book so far.
Someone help me with this thanks






