Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

linking problem

Posted on 2000-04-18
1
178 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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 additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

860 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