TC++ is 16-bits and 16-bits programs are not fully Windows 2000/XP/Vista/7 compatible. Windows emulates the older 16-bits environment using "NVTDM", but direct hardware access is (by design) still not possible (which is - besides unhandled program exceptions - the main cause for such error messages).
The only - structural - solution is to get a more modern 32 bits C++ compiler instead of TC++. You can find a list of free 32 bits Windows compilers here: http://www.thefreecountry.com/compilers/cpp.shtml
You might have to adapt the existing C++ code a little to the new compiler you choose.
When you really want to continue using TC++ you could use try the free "DOSBox" emulator (which has pretty accurate DOS emulating,. much better than Windows itself) or create a virtual machine with DOS or Windows 3.11 ...
Comments:
Aug 24, 2009
- PS: I forget one possible quick fix ... have you tried setting the "compatibility" on the compiled .exe to Windows 95 or NT4 or something before running it ? Rightclick the .exe, choose Properties and the tab 'Compability' ...
Do you already have a solution. I've used several pci and one usb dvr. I've an amd dualcore...
(More)
Do you already have a solution. I've used several pci and one usb dvr. I've an amd dualcore processor on xp All give problems OSmetime only one camera is suported sometimes 4 but the screen stay the same. I'm looking for an good solution but not to expansive Jos Hoekstra The netherlands
hi, I have a problem in my PC. whenever I run a graphics program of C/C++ then my MS-DOS windows be...
(More)
hi, I have a problem in my PC. whenever I run a graphics program of C/C++ then my MS-DOS windows be closed and an error message comes- "16 bit MS-DOS subsystem problem" I have SAHARA PC with AMD Athlon 64 X2 3800+ Dual Core Processor with graphics card NVIDIA G