I had to compile a C++ application under a DOS environment and was running Windows 7 64bit.

Firstly, Turbo C++ is a 32 bit x86 application and therefore will not run when initialised from an x64 environment.

This can easily be solved by installing the DOS Emulator called DosBox. One can then mount the Turbo C++ folder as a drive and install it under a subdirectory.

[code lang=”c”]
e.g. mount c c:\PathToMyTurboCppDirectory\
[/code]

Once in there it’s quite easy to open and compile the source code, but good luck to anyone that tries to write anything from scratch, it’s really painful and half the keys are not mapped in the DosBox, eventhough you can press Ctrl+F1 to open the Keymapper.

I will never try that one again.

Next time I will just load it all onto an old machine that is still running an x86 32 bit operating system.


1 Comment

Benjur · December 10, 2010 at 11:47

How to run turbo c without repeating the mounting process.. is tht possible

Leave a Reply

Your email address will not be published. Required fields are marked *