Omkar™
Feb 21 2007, 04:48 PM
I've been looking back into ol' days lately, and doing some (primitive) coding in C++, using some of those famous Borland Library Functions. So, I hooked up that blue editor (they call it the IDE ) And it wasn't a nice ride in Windows XP environment...
Whenever I run that DOS-Based Turbo C++ IDE (tc.exe), my processor usage jumps to a 100% constant, and the IDE runs real slow (Nice way to prove my typin' speed is kewl! ) - I'm currently using:- Windows® XP Professional with Service Pack 2
- Intel® Pentium 4, 1.7 GHz Processor
- 256k L2 cache
- 256MB RAM
- ~768MB VM
Earlier, the same IDE used to run great on -- Windows® 98 SE
- Intel® Celeron 700 MHz Processor
- 128k L2 cache
- 128MB RAM
- ~512MB VM
Of course, you'd expect DOS-Based programs to run real good on Windows® 98 rather than NT, but there's got to be a solution! I've tried almost everything - experimented with MS-DOS Program settings, advanced memory settings, compatibility mode for Windows® 95/98 SE, run in windowed/full-screen mode, everything I thought would remotely be responsible. And this is hard luck! I mean all nifty programs run smoothly on my Windows® XP configuration, and I'm messed up with a damn age-old Turbo C++ IDE! So much for those Borland Library Functions, but I'd still like to have a solution!
Please help me out if you can, since I only got until February end to wind-up my work in there!
Comment/Reply (w/o sign-up)
livingston
Feb 21 2007, 10:51 PM
The DOS based programs run well in Windows 98, because Windows 98 is loaded on top of MS DOS i.e. you have 2 OS MS DOS and Windows 98.
But in Windows XP Microsoft has stopped using DOS as a separate OS and added it as an Terminal Application. So it has to load in the memory and run from there and all the operations are done through the Windows XP core.
Whereas in Windows 98/95, the moment you stat the command prompt, you exit Windows and load DOS. There the DOS has the direct access to the Hardware and other resources.And the Windows is loaded again when you exit DOS.
In Windows XP and later versions DOS is available as Command Prompt application, it runs inside the Windows XP Kernel.
In Turbo C++ all the functions called by the compiler interact directly with the processor, in Windows XP this has to be pass through several Kernel process so it consumes a lot of CPU cycles and hence the heavy CPU usage.
This is not a Bug in Windows XP or incompatibility issue.
You can try alternative free window based C++ IDE's like
* Bloodshed Dev C++ - http://www.bloodshed.net/devcpp.html * lcc-win32 - http://www.cs.virginia.edu/~lcc-win32/ * Borland C++ - http://www.borland.com/bcppbuilder/freecompiler/ * Eclipse CDT - http://www.eclipse.org/cdt/ * GNU C++/C Compiler - http://gcc.gnu.org/ * Microsoft Visual C++ Express - http://lab.msdn.microsoft.com/express/visualc/
Comment/Reply (w/o sign-up)
DAC1138
Feb 21 2007, 11:33 PM
I can speak from experience that Borland's (free) compiler is really good. I think it's version 5.5 that's free. they go up to 6.5 last i used. But it is a really nice interface to code in. I started on the DOS turbo C compiler as well, and then moved up to borland's 5.5 on windows.
Comment/Reply (w/o sign-up)
Omkar™
Feb 22 2007, 12:59 PM
Thanks, livingston - that was really helpful. Now I know why this happens, but I need a solution! coming to the bottom-line, we can always blame Microsoft for it ! In the meanwhile, I'm glad to use the Bloodshed Dev-C++ IDE which works really good as an editor, but the Mingw compiler doesn't support most of the Borland Library Functions! So, I'm doing a juggling between Dev-C++ Editing, and Turbo C++ Compilation!
Another reason for cursing Microsoft would be - now that I already have Windows® XP Professional with Service Pack 2 installed on my first partition, I can't dual-boo ton Windows 98 SE anymore! In either case, is there any way I can get the Borland Turbo C++ IDE to work good?
Comment/Reply (w/o sign-up)
livingston
Feb 22 2007, 07:46 PM
There is no solution for this problem with Turbo C++ IDE in Windows XP. You can get the latest version Turbo C++ 2006, for this link http://trial.borland.com/survey.aspx?sid=626 . It comes in Two packages one contains the prerequiesties (228MB) and the other contains the Program Files (398MB). I think that this is a trial version.
Regarding you second problem view the Microsoft KB Article titled How to create a multiple-boot system in Windows XP
or the following article http://antionline.com/archive/index.php/t-253383.html
Comment/Reply (w/o sign-up)
mastercomputers
Feb 23 2007, 02:44 PM
You can run it through DosBox, and it works fine though some people experienced problems, I didn't encounter any, I just can't remember which version of TC I was running. Cheers, MC
Comment/Reply (w/o sign-up)
FeedBacker
Jan 17 2008, 02:01 AM
fonts & printing problem in turbo C IDE
Turbo C++ Ide
When I first got my dot matrix printer, it was all new and the print from turbo see IDE's editor was dark and readable.. Now that ive used up my printer a bit.. When I hit print from turbo see IDE editor, the print is just too light, elsewhere print from windows is all fine. I wish I knew what font turbo see used in the editor. Can anybody tell me that? so I could set in the notepad and print it out from there. Also I when I give print command from turbo see (from within dosbox) the screen is all distorted and of course the print command is not executed. Any ideas? -sindhu
Comment/Reply (w/o sign-up)
FeedBacker
May 6 2008, 06:03 AM
I had this problem before, all you have to do is lower the priority of the process "ntvdm" in the task administrator (sorry I don't know the name in english, I'm using a spanish windows) and that's all, it works for me all time... -reply by Z-WolF
Comment/Reply (w/o sign-up)
(G)Manjeet007
Aug 10 2009, 06:28 PM
hey,
Does any1 know which C++ IDE is best for a 64-bit Windows Vista Ultimate? I have a beautiful Alienware M17x and tried searching around but couldn't find a decent C++ IDE. I also tried Bloodshed's Dev-C++ IDE...Didn't work though. Please e-mail me a reply rather than posting here.
Thanks,
Manjeet
-reply by Manjeet007
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : turbo, c, ide, incompatible, windows, xp,
- Programming The Sound Card In Windows
(0)
Networking Programming - C++ - Ms Windows
Please recommend me a eBook or Document (2) I need to write some networking library in C++. I know C++, I know networking programming on Linux.
But not, I'm working in a networking project on Windows. I may need an ebook or some reference
about this. 'Cause I'm new to Windows /biggrin.gif' border='0'
style='vertical-align:middle' alt='biggrin.gif' /> Can you recommend me a eBook, just about C++
networking, on Windows? I've been Googling for that, but seems that I'm not lucky enough.....
Programing Windows Joystick
Questions about windows joystick code (2) I have 2 joystick related questions. The first is, does anyone know if there is a driver that will
allow me to use my joystick (actually 12button/3axis gamepad) to control my mouse pointer in
windows95? I have one program that will allow me to do that (very indirectly) using windows
accessability & the program that camewith my joystick. But it is exceedingly slow, because it uses 2
forms of redirection. First it translates joystick movements to key presses (slow), then I use the
windows accessability to translate that to mouse movements. But that is so slow, it's pr....
Help: C++ And Midi Programming Under Windows
Programming for MIDI in Borland C++ 4.52 (1) Hi, I am starting an opensource Midi Squencer / Controller. I have already learned how to get
info on all the Midi devices on the system, and I have figured out how to send data to a Midi
device. My next step is figuring how to get Midi input. I have been trying everything in the help
files, but nothing I have done has worked. I am using the mmsystem.h header for all my low-level
Midi communication. It connects to the mmsystem.dll that is standard with windows.... so it should
be accessable to anyone with C++. Is there anyone out there that would like to see a qu....
Looking for turbo, c, ide, incompatible, windows, xp,
|
See Also,
*SIMILAR VIDEOS*
Searching Video's for turbo, c, ide, incompatible, windows, xp,
|
advertisement
|
|