If someone tries to build even a simple Hello World executable using Borland Turbo C++ 3.0 for DOSBox running on the Macintosh, DOSBox will crash when executing the program from a shell lauched in the Turbo C++ IDE.
Steps:
Expected:
The application will execute successfully
Actual:
DOSBox crashes.
Note:
The program runs fine when executed outside of the Turbo C++ IDE environment, i.e. if someone where to lauch DOSBox and run the program directly everything works fine.
This problem is not an issue on Fedora Linux 16, even when running the program for a Turbo C++ DOS shell.
Can you attach a sample program/executable that doesn't run ?
(Ideally the classic the hello world program)
Actually, someone does not need to run a program compiled Turbo C++. Someone can try to execute any program. I shelled to a DOS prompt from the IDE and tried to run mem.com and DOSBox crashed.
Managed to confirm it. At first glance it seems to crash in the close process function. It's a bit tricky to debug though.
Fixed it.
TC leaves the memory slightly corrupted and we use that data to update the contents of the titlebar (displayed at the top of the screen). Mac OS X doesn't like having weird characters in there.
Thanks fpr the report.