From: aloha826 on
Hi,

I got LNK 2001: unresolved external symbol problem.


Deleting intermediate files and output files for project 'ProxyReader
- Win32 Debug'.
--------------------Configuration: ProxyReader - Win32
Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
ChildView.cpp
DoConnectReader.cpp
DoGuestInformation.cpp
DoReaderScanning.cpp
MainFrm.cpp
ProxyReader.cpp
DoConnectReaderAutoProxy.cpp
Generating Code...
Linking...
DoConnectReader.obj : error LNK2001: unresolved external symbol
"public: virtual struct CRuntimeClass * __thiscall
DoConnectReader::GetRuntimeClass(void)const " (?
GetRuntimeClass(a)DoConnectReader@@UBEPAUCRuntimeClass@@XZ)


From googling, this is some sort of link library issue, etc.
What should I check with class DoConnectReader in fact ? I go through
Project -> Setting -> etc, but find it ok.

Thanks.
kenji.
From: Fernando A. Gómez F. on
aloha826(a)gmail.com wrote:
> Hi,
>
> I got LNK 2001: unresolved external symbol problem.
>
>
> Deleting intermediate files and output files for project 'ProxyReader
> - Win32 Debug'.
> --------------------Configuration: ProxyReader - Win32
> Debug--------------------
> Compiling resources...
> Compiling...
> StdAfx.cpp
> Compiling...
> ChildView.cpp
> DoConnectReader.cpp
> DoGuestInformation.cpp
> DoReaderScanning.cpp
> MainFrm.cpp
> ProxyReader.cpp
> DoConnectReaderAutoProxy.cpp
> Generating Code...
> Linking...
> DoConnectReader.obj : error LNK2001: unresolved external symbol
> "public: virtual struct CRuntimeClass * __thiscall
> DoConnectReader::GetRuntimeClass(void)const " (?
> GetRuntimeClass(a)DoConnectReader@@UBEPAUCRuntimeClass@@XZ)
>
>
> From googling, this is some sort of link library issue, etc.
> What should I check with class DoConnectReader in fact ? I go through
> Project -> Setting -> etc, but find it ok.
>
> Thanks.
> kenji.

Hi,

I'd say that your class has a DECLARE_DYNAMIC or DECLARE_DYNCREATE in
the class definition, yet it doesn't has its corresponding
IMPLEMENT_DYNAMIC or IMPLEMENT_DYNCREATE.

Or maybe you are calling RUNTIME_CLASS(DoConnectReader) somewhere
without specifying your class as DECLARE_DYNAMIC or DECLARE_DYNCREATE.

Regards.