Sunday, July 26, 2009

Why My Windows Xp shuts down when I quit an old version of Turbo C++ application/program?

A Turbo C++ application worked alright with my Windows 98 version,but the same program loaded from the same CD into Windows XP causes the computer to shut down whenever I quit the TC program now.Reply will be highly appreciated

Why My Windows Xp shuts down when I quit an old version of Turbo C++ application/program?
There must be an error in the code. This is probably something that Windows 98 would normally have ignored, one reason for it's instability. XP is far more demanding on correct exit codes.
Reply:This is weird, XP emulate DOS and Win16 while Windows 98 uses DOS and lots of Win16 code internally. It's easy to crash 98, XP should not ever reboot running DOS or Win16 apps!





Usually there are two versions of TC, one real DOS, and other using 286 protected mode. (In turbo pascal it was tp.exe, and tpx.exe), try both of them.





A sure way to run it, download free PC emulators: VirtualPC from Microsoft (doesn't run in Vista Basic), or DosBox. Unfortunately, VMware workstation is not free. You can install and run Windows 98 from Virtual PC, and you can run DOS applications from DosBox (MS/PC DOS is not required).

long stem roses

No comments:

Post a Comment