p7s7x9 Posted July 10, 2008 Posted July 10, 2008 This problem occurs on Win2k. It will prompt into task manager with ntvdm.exe,wowexec.exe and remind.exe.the speed of the computer will slow.how can i solve this problem.? other problems is it can double the current running application. example....when you save a file in Borland C++, it will duplicate the location of where the file was saved, creating numerous sub-folders.Here is a screenshot of the running programs.http://www.uploadking.net/download/m5qZjqr...4x7opmXoY+1wqWF
Th3_uN1Qu3 Posted July 10, 2008 Posted July 10, 2008 The NT DOS emulator always eats up all the CPU time when running Borland C++. You can set it to have a lower priority so it doesn't slow down the system that much when you have it running but are not using it.As for the second problem, i don't know as i never had it.
CoffeeFiend Posted July 10, 2008 Posted July 10, 2008 Seriously, is there a reason to use a 10+ year old compiler (haven't seen anyone use that since Windows 95 came out), meant for DOS, that's mostly used to make old 16 bit executables, when you're running a x64 OS?Especially when you have modern compilers & IDEs like MS VC++ Express (free!) that will even generate native x64 apps for your OS? (no WOW64 or NTVDM stuff required)
eyeball Posted July 10, 2008 Posted July 10, 2008 i think you need to confure NTVDM.exe to run in a seperate memory space.Right click the application and there is the option in there to run in a seperate memory space.That should solve it
CoffeeFiend Posted July 10, 2008 Posted July 10, 2008 Usually the reason they suck 100% of your CPU is because they're pre-windows apps. Back then apps weren't written to leave CPU time for other apps (what? running more than one app at once you say?), so when idle, it just runs a loop polling for keyboard input (usually using int 0x16), sucking the CPU dry.There are some utilities that help with these very old apps (doskbd and TameDOS comes to mind), but at some point, you have to make the move to modern apps. And in this case, there's perfectly good/vastly better solutions available for free. You could also try running it under dosbox (yeah, it's really become THAT old).There's such a generation gap between that compiler and his OS (DOS era and 64 bit OS), it's hardly surprising there are problems.
p7s7x9 Posted July 10, 2008 Author Posted July 10, 2008 Seriously, is there a reason to use a 10+ year old compiler (haven't seen anyone use that since Windows 95 came out), meant for DOS, that's mostly used to make old 16 bit executables, when you're running a x64 OS?Especially when you have modern compilers & IDEs like MS VC++ Express (free!) that will even generate native x64 apps for your OS? (no WOW64 or NTVDM stuff required)i used another pc for this. it was only p2 400-something mhz and 32mb ram. I still have this problem. im no good w/ technical stuff so i need help...
CoffeeFiend Posted July 10, 2008 Posted July 10, 2008 i used another pc for this. it was only p2 400-something mhz and 32mb ram.Well, it's an ancient compiler, running on pretty old hardware too, so why not throw Windows 95 on it or such (or even DOS 6.22). It should run fine under that.Old dos apps like that won't play nice on newer operating systems. Not a whole lot you can do about that. The main 2 alternatives are:not using such an ancient compiler (dos app), like I mentioned beforeusing an older OS (from the same era, that it was written for)Or as a last resort, the other "workarounds" (doskbd, TameDOS, dosbox, etc).I still have this problem. im no good w/ technical stuff so i need help...It's not remotely as complicated as programming anything past "hello world" in C++...
p7s7x9 Posted July 11, 2008 Author Posted July 11, 2008 I wanted to, but sadly i cant. the computer belongs to a school, so I cant' make any "unofficial" changes that aren't approved by MS.
p7s7x9 Posted July 11, 2008 Author Posted July 11, 2008 The NT DOS emulator always eats up all the CPU time when running Borland C++. You can set it to have a lower priority so it doesn't slow down the system that much when you have it running but are not using it.Errr... How?
CoffeeFiend Posted July 11, 2008 Posted July 11, 2008 (edited) I wanted to, but sadly i cant. the computer belongs to a school, so I cant' make any "unofficial" changes that aren't approved by MS.Using doskbd is surely approved by MS -- it's one of their own tools...Edit: Well, nevermind. doskbd is NT4 only. Looks like they expect us to have migrated away from badly behaving dos-era app by now...But then again, you're handed a super old box, and are forced to run win2k on it (can't reinstall win98, even if you explained it to them?), and also forced to use that ancient compiler too? Edited July 11, 2008 by crahak
cluberti Posted July 11, 2008 Posted July 11, 2008 What about dosbox for this? NTVDM isn't really meant as anything but a stopgap solution...
jaclaz Posted July 11, 2008 Posted July 11, 2008 For the record, there is a Commercial application said to be capable of "fixing" these kind of problems:http://www.tamedos.com/tame/tamehome.htmI was never able to find a Freeware/Open Source alternative to it. jaclaz
CoffeeFiend Posted July 11, 2008 Posted July 11, 2008 (edited) I already mentioned dosbox and tamedos in post #7. But seemingly he's not willing to try any of those, nor reinstalling an older OS, nor using a post dos-era compiler. In other words, he's chosen to not solve the problem. Edited July 11, 2008 by crahak
p7s7x9 Posted July 12, 2008 Author Posted July 12, 2008 (edited) I already mentioned dosbox and tamedos in post #7. But seemingly he's not willing to try any of those, nor reinstalling an older OS, nor using a post dos-era compiler. In other words, he's chosen to not solve the problem.Uh, no. I just wasn't online when you posted that. Now that i've read your replies, I will try them out as soon as i can. And yes, i was sort of forced to use that computer and that compiler (Borland Turbo C++ v5). They dont want to use Win98 because the students there often bring USB flash disk/discs and regular unmodified Win98 often needs a restart to recognize the thing, which annoys both the user and the administrator (and considering how old the computer is, it usually takes a while to reboot). Edited July 12, 2008 by p7s7x9
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now