Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error LNK2001: unresolved external symbol "protected: void __thiscall

Status
Not open for further replies.

wasimhc

Programmer
Sep 14, 2002
16
0
0
HK
There is no syntex error. But, the followint linking errors are occured:

Dailer_mfc1Dlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CDailer_mfc1Dlg::OnMenuItemExit(void)" (?OnMenuItemExit@CDailer_mfc1Dlg@@IAEXXZ)

Dailer_mfc1Dlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CDailer_mfc1Dlg::OnMenuItemAbout(void)" (?OnMenuItemAbout@CDailer_mfc1Dlg@@IAEXXZ)

Dailer_mfc1Dlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CDailer_mfc1Dlg::OnMenuItemOptions(void)" (?OnMenuItemOptions@CDailer_mfc1Dlg@@IAEXXZ)

Dailer_mfc1Dlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CDailer_mfc1Dlg::OnMenuItemChange(void)" (?OnMenuItemChange@CDailer_mfc1Dlg@@IAEXXZ)

Dailer_mfc1Dlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CDailer_mfc1Dlg::OnMenuItemStatus(void)" (?OnMenuItemStatus@CDailer_mfc1Dlg@@IAEXXZ)

Dailer_mfc1Dlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CDailer_mfc1Dlg::OnMenuItemDisconnect(void)" (?OnMenuItemDisconnect@CDailer_mfc1Dlg@@IAEXXZ)

Dailer_mfc1Dlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CDailer_mfc1Dlg::OnMenuItemConnect(void)" (?OnMenuItemConnect@CDailer_mfc1Dlg@@IAEXXZ)

Debug/Dailer_mfc1.exe : fatal error LNK1120: 7 unresolved externals

Pls, help.

With best regards,
Wasim
 
you usually get those linker errors when the linker can't find bits of your code. It could be that you have declared some functions in a class or header file but have not implemented them. Or, you have forgotten to import a library or something like that.
tellis.gif

[sup]programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.[/sup]​
 
Also possible that you have [tt]#include[/tt]d a header file, but not added the corresponding implementation file to the project, so it isn't being compiled and isn't part of the [tt].obj[/tt]? [ponder]
 
Thanks for qednick and Jim03.
your comments is right. Some functions are declared, there. But, not defined.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top