|
-
January 17th, 2010, 10:32 AM
#1
Error
I am just starting to write some simple program, and encounter the following message. I have no ideal how to resolve it.
Error Message:
>CalcApp.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall CCalcApp::~CCalcApp(void)" (??1CCalcApp@@UAE@XZ) referenced in function "public: virtual void * __thiscall CCalcApp::`scalar deleting destructor'(unsigned int)" (??_GCCalcApp@@UAEPAXI@Z)
1>D:\Visual Studio 2008\Projects\MFCCalculator\Debug\MFCCalculator.exe : fatal error LNK1120: 1 unresolved externals
-
January 17th, 2010, 11:45 AM
#2
Re: Error
To get rid of that error, you have to write a definition (implementation) for CCalcApp destructor.
Something like
Code:
// CalcApp.cpp
CCalcApp::~CCalcApp()
{
// ...
}
-
January 17th, 2010, 02:07 PM
#3
Re: Error
Thanks for your help. My problem is solved.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|