I wrote a program (actually a game) in Windows XP (pro) using Dev-C/C++ compiler (www.bloodshed.net). I run the game on Windows XP and Windows 2000 systems just fine, but when I try to run it on Windows ME and '98, it crashes with an error:
I'm not quite sure what is causing it to do it. I thought it was that when it's compiled, it uses different system info so it may crash on other OS's but I tried compiling it on WinME and it still gives the same error (if it even compiles, Dev-C compilers gives an error "couldn't run program" or something along those lines).Game has caused an error in KERNEL32.DLL.
Game will now close.
If you continue to experience problems, try restarting your computer.
I'd post the whole program here but it's over 10 files and about 2,000 lines =)
I didn't use anything out of the ordinary, just some write to console and screen buffer stuff, in the header, I've included
stdio, stdlib, and windows.h (and some of my own files as well).
If anyone has experience with this and has a hint of what the problem might be, it would be greatly appreciated, thanks!