944,098 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 4076
  • C++ RSS
Feb 12th, 2005
0

Wt? "compiling and linking errors"

Expand Post »
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, 24 views)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
loki73 is offline Offline
3 posts
since Feb 2005
Feb 12th, 2005
0

Re: Wt? "compiling and linking errors"

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'.
Reputation Points: 68
Solved Threads: 18
Posting Pro in Training
winbatch is offline Offline
466 posts
since Feb 2005
Feb 12th, 2005
0

Re: Wt? "compiling and linking errors"

Quote 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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
loki73 is offline Offline
3 posts
since Feb 2005
Jun 19th, 2005
0

Re: Wt? "compiling and linking errors"

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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dank628 is offline Offline
2 posts
since Jun 2005
Jun 20th, 2005
0

Re: Wt? "compiling and linking errors"

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.

C++ Syntax (Toggle Plain Text)
  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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dank628 is offline Offline
2 posts
since Jun 2005
Jun 20th, 2005
0

Re: Wt? "compiling and linking errors"

Quote ...
-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
Team Colleague
Reputation Points: 2780
Solved Threads: 312
long time no c
Dave Sinkula is offline Offline
4,790 posts
since Apr 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: I need quick advice about my program
Next Thread in C++ Forum Timeline: need help in interfacing my programme





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC