Solved

linking problem

Posted on 2000-04-18
1
176 Views
Last Modified: 2010-04-02
I am getting following error
   can anybody tell me possible  solutions.




Linking...
Energy_ModuleView.obj : error LNK2001: unresolved external symbol "public: __thiscall CRatingAppliancesDlg::CRatingAppliancesDlg(class CWnd *)" (??0CRatingAppliancesDlg@@QAE@PAVCWnd@@@Z)
.\Debug/Energy~1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Creating browse info file...

Energy~1.exe - 2 error(s)
0
Comment
Question by:sag_kas
1 Comment
 
LVL 31

Accepted Solution

by:
Zoppo earned 40 total points
ID: 2725692
Hi sag_kas,

A function CRatingAppliancesDlg::CRatingAppliancesDlg(...) referred in Energy_ModuleView.obj could not be found while linking.

I assume you're using MSVC++...

My guess:

- The function is declared but not or not correctly implemented.
- The files containing the class CRatingAppliancesDlg wasn't added to the project.

hope that helps,

ZOPPO
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now