I had 6 different versions of the msvcr80.dll file that I supposedly needed, with 3 different file sizes. I had no idea what one to use and I just picked one. As to the closing problem, Others are getting that as well. I found that I forgot to put the "GameRunning = 0" statement in the Windows procedure. Without that, the loop would go on indefinitely. I had this:
Code:
case WM_CLOSE:
PostQuitMessage(0);
GameRunning = 0; // this was left out
return 0;
break;
The main loop, however, had this:
Code:
while(GameRunning == 1) // this is the main loop
{
PeekMessage(&msg,hwnd,NULL,NULL,PM_REMOVE);
if (msg.message == WM_QUIT) // check for a quit message
{
GameRunning = 0; // if found, quit app // I thought this would close the program
break;
}
else
{
I posted the list of msvcr80.dll files that I had installed in this thread (See message #5). The one that did reply didn't know which one of the six I needed to use so I was left to just a random guess as to which one I needed to use.
What's a manifest though?