Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » problem with microsoft visual C++
Closed Thread
Old 05-05-2004, 05:31 PM   #1 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default problem with microsoft visual C++

Hi
I have been trying to write my program. and often when i try to build, it just hangs while it is linking, when i try to close the application from the 'x' box i get the following message

"you cannot close the workspace while a build is in progress. Select the Stop Build command before closing this workspace. "

i then need to go to the task manager and kill the process from there, and it then says that the program is not responsing, and i hit the Ok...

why is this happening
rookie1010 is offline  
Old 05-05-2004, 11:08 PM   #2 (permalink)
 
Banned

Join Date: Jan 2004

Posts: 471

subdivizion

Default

how long do you wait?
subdivizion is offline  
Old 05-09-2004, 07:37 AM   #3 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default

i want for a couple of minutes
the program is a really small one, almost a "hello world"
rookie1010 is offline  
Old 06-07-2004, 12:15 AM   #4 (permalink)
 
Newb Techie

Join Date: Jun 2004

Posts: 6

r34p3r

Send a message via AIM to r34p3r
Default

maybe there is something wrong with your compiler, or mabe just a simpe error in your source code.
r34p3r is offline  
Old 06-07-2004, 09:57 AM   #5 (permalink)
 
Banned

Join Date: Jan 2004

Posts: 471

subdivizion

Default

you might have an endless loop...
subdivizion is offline  
Old 06-07-2004, 05:15 PM   #6 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default

no, it is not the code, since i can overcome the problem by copying, closing down visual c++, it kind of gets stuck, kill it frrom the taks manager, and then pasting the code again and compiling.
rookie1010 is offline  
Old 06-07-2004, 06:14 PM   #7 (permalink)
 
Banned

Join Date: Jan 2004

Posts: 471

subdivizion

Default

then there's something worng with the ccompiler. i think it's easier if you just reinstall visual c++. sorry i can't be of any more help
subdivizion is offline  
Old 06-10-2004, 03:39 PM   #8 (permalink)
 
Newb Techie

Join Date: Jun 2004

Posts: 23

prezz0

Default

i suggest linux
prezz0 is offline  
Old 06-10-2004, 03:59 PM   #9 (permalink)
 
Master Techie

Join Date: Mar 2004

Posts: 2,069

rookie1010

Default

i am going for it
i have burnt some oil and some of my hair has turned grey in the process.
rookie1010 is offline  
Old 11-27-2006, 11:38 PM   #10 (permalink)
 
Newb Techie

Join Date: Nov 2006

Posts: 5

SomewhereInND

Default

I to have the same problem, have removed and reinstalled compiler several times Version 6.0

Normally happens when there are certain types of errors during compile, but I havent been able to determine exactly what kind.

It also happens if you leave the application running, try to rebuild it, getting error LINK : fatal error LNK1168: cannot open ... for writing

Fix problem, save files, then CtrlAltDel and kill the process, then restart Visual C, and try again.

So at this point it should compile, but it still hangs, you have to modify cpp file, save it, CTRL ALT DEL and recompile, then it runs.

When the compiler produces and error message, it should stop the build process, but it doesnt, its like the IDE didnt get the error code back from the compiler. Compiler keeps going, and eventually links, then hangs. I think the IDE is waiting for the linker to end, which it did, but the IDE still thinks the linker is running, so it waits....

Anyone find a solution?
SomewhereInND is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On