Wt? "compiling and linking errors"

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2005
Posts: 3
Reputation: loki73 is an unknown quantity at this point 
Solved Threads: 0
loki73's Avatar
loki73 loki73 is offline Offline
Newbie Poster

Wt? "compiling and linking errors"

 
0
  #1
Feb 12th, 2005
I am trying to do a simple program, rather 3 simple programs that involve
class structures in Visual Studio C++ .net 2003. I can compile them by
themselves without errors. But when I F5 through them I get the
following errors:
'test-proj.exe': Loaded 'C:\Documents and Settings\loki\My Documents\work\prog2\test-proj\Debug\test-proj.exe', Symbols loaded.
'test-proj.exe': Loaded 'C:\WINDOWS\SYSTEM32\ntdll.dll', No symbols loaded.
'test-proj.exe': Loaded 'C:\WINDOWS\SYSTEM32\kernel32.dll', No symbols loaded.
The program '[1356] test-proj.exe: Native' has exited with code 0 (0x0).

See attached for code:
Attached Files
File Type: doc Acctcode.doc (20.0 KB, 6 views)
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 466
Reputation: winbatch is on a distinguished road 
Solved Threads: 18
winbatch's Avatar
winbatch winbatch is offline Offline
Posting Pro in Training

Re: Wt? "compiling and linking errors"

 
0
  #2
Feb 12th, 2005
I have a feeling you set up the project in VS to create a .dll. Make sure you have it set to create a 'console program'.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 3
Reputation: loki73 is an unknown quantity at this point 
Solved Threads: 0
loki73's Avatar
loki73 loki73 is offline Offline
Newbie Poster

Re: Wt? "compiling and linking errors"

 
0
  #3
Feb 12th, 2005
Originally Posted by winbatch
I have a feeling you set up the project in VS to create a .dll. Make sure you have it set to create a 'console program'.
I used the Win32console application. Is this incorrect or is there a setting
that I need to change. Sorry I am a noob at visual studio.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 2
Reputation: dank628 is an unknown quantity at this point 
Solved Threads: 0
dank628 dank628 is offline Offline
Newbie Poster

Re: Wt? "compiling and linking errors"

 
0
  #4
Jun 19th, 2005
I am having the same problem also. I am a noob just trying to start, and im just trying to pring something on screen with a win32console and c++ souce file. I get teh same exact error message down to the character. ntdll.dll and kernel32.dll, no symbols loaded. Please if anyone knows anything?
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 2
Reputation: dank628 is an unknown quantity at this point 
Solved Threads: 0
dank628 dank628 is offline Offline
Newbie Poster

Re: Wt? "compiling and linking errors"

 
0
  #5
Jun 20th, 2005
I think i figured out the no symbols thing. I read somewhere that you go to microsoft.com and search for debug symbols and download that. Then you install it and they automatically go there, I did this and it now says symbols loaded for both of them. But the bottum still says -
-The program '[932] trst.exe: Native' has exited with code 0 (0x0).

I don't know what this means or why it wont run.

  1. #include<iostream>
  2. #include<iomanip>
  3. using namespace std;
  4.  
  5. void main()
  6. {
  7. cout<<"Hey:"<<endl;
  8. }
<< moderator edit: added code tags: [code][/code] >>

this is my code, i just want to output something so i can start programming from there.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 4,461
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 254
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: Wt? "compiling and linking errors"

 
0
  #6
Jun 20th, 2005
-The program '[932] trst.exe: Native' has exited with code 0 (0x0).
It did run. It ran successfully. Then it exited.

http://faq.cprogramming.com/cgi-bin/...&id=1043284385
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 3286 | Replies: 5
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC