Im trying to compile NeHe's Basecode 2 with the borland free compilers, and I am haveing no luck.
Instead of a main function like normal, it has this
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
I dont know what to do to get it to compile.
I think I need to configure my compiler differently.
I get several warnings in the NeHeGL.cpp file, but the only error is "unresolved external main referenced from cox32.obj"