First post, by rcblanke
- Rank
- Oldbie
Hi everyone,
First, let me tell you how much I like your work; DOSBox is truely a work of art as it is now! The amount of games and programs it can run at the moment is very impressive.
However, I seem to have stumbled on a problem. I tried to run an old C++ game that i've written a couple of years ago using DJ Delorie's DJGPP compiler in DOSBox, that crashed right after starting. Obvisously, the game works in a true DOS environment or on the windows command prompt.
In fact, even the smallest C++ program that I can think of:
#include <iostream>
int main() {
return 0;
}
crashes DOSBox (version 0.63, as well as the CVS as of 03-07-2005), or better, crashes CWSDPMI inside DOSBox. See my attachment for that.
I've used the latest GPP release, version 3.4.3 to compile the thingy.
Removing the starting #include line from the code makes it work correctly.
My question: Is this a known problem with DOSBox (maybe that someting isn't exactly finished inside DOSBox's sourcecode, or similar), and is there a solution to this problem other than just use plain C instead of C++ ? Or am I missing something here?
Again, thanks for your good work already, now lets see if we can make it even better!
I have attached the executable as well. It was compiled using -g so debugging info is available.
Regards,
Ronald