"error LNK2001: unresolved external symbol" occured at my second debug,but first not!
Hello, I met a strange error here.When I start debuging my application at the first time,everything is OK,but when I start debuging it again,error LNK2001: unresolved external symbol occured.The code is the same with the first time,I didn't make any change!!
The output information at the second time is below:
1>------ Build started: Project: Modeless, Configuration: Debug Win32 ------
1>Compiling...
1>Modeless.cpp
1>Linking...
1>ModelessDialog.obj : error LNK2001: unresolved external symbol "public: void __thiscall ModelessDialog::OnLoginLogin(void)" (?OnLoginLogin@ModelessDialog@@QAEXXZ)
1>D:\WorkDocuments\Visual C++ Programs\MFC\Modeless\Debug\Modeless.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://d:\WorkDocuments\Visual C++ Programs\MFC\Modeless\Debug\BuildLog.htm"
1>Modeless - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I use Win7 and VS2008 here.Can anybody help me out?? Thanks!!
|