Computing.Net > Forums > Programming > Ms Visual C++ Externals Error

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Ms Visual C++ Externals Error

Reply to Message Icon

Name: Joshua
Date: January 31, 2003 at 14:02:40 Pacific
OS: WinXp
CPU/Ram: athlon 800/256
Comment:

I'm using Ms Visual c++ and occasionally, when I make a class template, then go to link it with a driver file, I get unresolved externals error for some of the fuction templates in the class. So far, I've been unable to locate the problem... am I missing something?



Sponsored Link
Ads by Google

Response Number 1
Name: borelli34
Date: February 1, 2003 at 20:58:24 Pacific
Reply:

========================================================================================

I don't know that this is the answer or not but you can get this kind of message when you attempt to link identifiers in your source code with an already established identifier/function within the module that is being linked in to your code (ie the driver in this case). In other words, the identifiers that you make reference to in your source (extern variables and functions) are not found anywhere outside of your source. The driver/dll/obj file(s) may not have those identifiers in the compiled code that they contain and therefore the compiler can only report this as an unresolved external. In the lingo of my home town in Boston they might say "yo, I can't find the orange you said was in dis crate". There are other possibilities but very remote ones at that.

borelli34@cox.net
John Borelli

========================================================================================


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Ms Visual C++ Externals Error

C++ and Ms Visual C++ www.computing.net/answers/programming/c-and-ms-visual-c/3756.html

Visual C++ error www.computing.net/answers/programming/visual-c-error/282.html

asm with visual c++? www.computing.net/answers/programming/asm-with-visual-c/1882.html