I'm currently working on a little game. Well, actually only the GUI's really intact right now. Anyways, it compiles and runs absolutely perfect for me... but whenever I pass it to a friend who has say, Windows XP installed it pukes. And of course since I don't have XP installed, I can't really go around debugging this on my own.
int main(int argc, char** argv)
{
#ifdef _DEBUG_CLIENT_
if(argc>1)
{
if(!strcmp(argv[1],"debug-mode"))
{
error->Debug = true;
}
}
#endif
error->Write("Initializing GLUT...");
That Write at the bottom was a part of others I implemented to see where it was puking for my friend. The thing is, when he ran it the error.txt was created... but nothing got written in it.
void DebugIO::Write(const char* output)
{
if (!isOpen)Open();
fprintf(stderr,"%s",output);
}
The Open function basically just redirects stderr to "error.txt", sets the "isOpen" bool to true, and outputs the date (which wasn't even shown). Now is there any difference in possible .DLL's and such that 98 and XP have that would cause a crash using these certain functions? Because like I said it compiles fine, no warning and whatnot, runs perfectly fine except on XP. Any and all help is appreciated. :)
-Etyrn