Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Turbo C++ Ide, Incompatible with Windows XP?
Omkar™
post Feb 21 2007, 04:48 PM
Post #1


Advanced Member
Group Icon

Group: Members
Posts: 130
Joined: 22-May 06
From: India
Member No.: 13,593




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 blink.gif ) 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! biggrin.gif ) - 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! dry.gif 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! unsure.gif
Go to the top of the page
 
+Quote Post
livingston
post Feb 21 2007, 10:51 PM
Post #2


Advanced Member
Group Icon

Group: Members
Posts: 149
Joined: 14-February 07
From: Tuticorin, India
Member No.: 20,415



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/


This post has been edited by livingston: Feb 21 2007, 10:59 PM
Go to the top of the page
 
+Quote Post
DAC1138
post Feb 21 2007, 11:33 PM
Post #3


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 45
Joined: 6-January 07
Member No.: 19,178



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.
Go to the top of the page
 
+Quote Post
Omkar™
post Feb 22 2007, 12:59 PM
Post #4


Advanced Member
Group Icon

Group: Members
Posts: 130
Joined: 22-May 06
From: India
Member No.: 13,593




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 tongue.gif ! 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! laugh.gif

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?
Go to the top of the page
 
+Quote Post
livingston
post Feb 22 2007, 07:46 PM
Post #5


Advanced Member
Group Icon

Group: Members
Posts: 149
Joined: 14-February 07
From: Tuticorin, India
Member No.: 20,415



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

Go to the top of the page
 
+Quote Post
mastercomputers
post Feb 23 2007, 02:44 PM
Post #6


BUG.SWAT.PATROL
Group Icon

Group: Members
Posts: 626
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



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
Go to the top of the page
 
+Quote Post
iGuest
post Jan 17 2008, 02:01 AM
Post #7


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



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
Go to the top of the page
 
+Quote Post
iGuest
post May 6 2008, 06:03 AM
Post #8


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Programing Windows Joystick(2)
  2. Programming The Sound Card In Windows(0)


 



- Lo-Fi Version Time is now: 8th September 2008 - 06:53 AM