救命呀~~~!连接错误~~~!!!
Debug版连接很正常,可是Release版却出现连接错误!错误如下:
--------------------Configuration: ProcessList - Win32 Release--------------------
Linking...
LeftView.obj : error LNK2001: unresolved external symbol "public: struct tagTHREADENTRY32 __thiscall CProcInfo::GetThreadInfo(unsigned int,unsigned int)" (?GetThreadInfo@CProcInfo@@QAE?AUtagTHREADENTRY32@@II@Z)
ProcessListView.obj : error LNK2001: unresolved external symbol "public: struct tagTHREADENTRY32 __thiscall CProcInfo::GetThreadInfo(unsigned int,unsigned int)" (?GetThreadInfo@CProcInfo@@QAE?AUtagTHREADENTRY32@@II@Z)
LeftView.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall CProcInfo::GetThreadCount(unsigned int)" (?GetThreadCount@CProcInfo@@QAEII@Z)
ProcessListView.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall CProcInfo::GetThreadCount(unsigned int)" (?GetThreadCount@CProcInfo@@QAEII@Z)
LeftView.obj : error LNK2001: unresolved external symbol "public: struct tagMODULEENTRY32 __thiscall CProcInfo::GetModuleInfo(unsigned int,unsigned int)" (?GetModuleInfo@CProcInfo@@QAE?AUtagMODULEENTRY32@@II@Z)
ProcessListView.obj : error LNK2001: unresolved external symbol "public: struct tagMODULEENTRY32 __thiscall CProcInfo::GetModuleInfo(unsigned int,unsigned int)" (?GetModuleInfo@CProcInfo@@QAE?AUtagMODULEENTRY32@@II@Z)
LeftView.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall CProcInfo::GetModuleCount(unsigned int)" (?GetModuleCount@CProcInfo@@QAEII@Z)
ProcessListView.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall CProcInfo::GetModuleCount(unsigned int)" (?GetModuleCount@CProcInfo@@QAEII@Z)
LeftView.obj : error LNK2001: unresolved external symbol "public: struct tagPROCESSENTRY32 __thiscall CProcInfo::GetProcessInfo(unsigned int)" (?GetProcessInfo@CProcInfo@@QAE?AUtagPROCESSENTRY32@@I@Z)
ProcessListDoc.obj : error LNK2001: unresolved external symbol "public: struct tagPROCESSENTRY32 __thiscall CProcInfo::GetProcessInfo(unsigned int)" (?GetProcessInfo@CProcInfo@@QAE?AUtagPROCESSENTRY32@@I@Z)
ProcessListView.obj : error LNK2001: unresolved external symbol "public: struct tagPROCESSENTRY32 __thiscall CProcInfo::GetProcessInfo(unsigned int)" (?GetProcessInfo@CProcInfo@@QAE?AUtagPROCESSENTRY32@@I@Z)
LeftView.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall CProcInfo::GetProcessCount(void)" (?GetProcessCount@CProcInfo@@QAEIXZ)
ProcessListDoc.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall CProcInfo::GetProcessCount(void)" (?GetProcessCount@CProcInfo@@QAEIXZ)
ProcessListView.obj : error LNK2001: unresolved external symbol "public: unsigned int __thiscall CProcInfo::GetProcessCount(void)" (?GetProcessCount@CProcInfo@@QAEIXZ)
ProcessListDoc.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall CProcInfo::GetProcPriority(unsigned int)" (?GetProcPriority@CProcInfo@@QAEKI@Z)
ProcessListView.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall CProcInfo::GetProcPriority(unsigned int)" (?GetProcPriority@CProcInfo@@QAEKI@Z)
Release/ProcessList.exe : fatal error LNK1120: 7 unresolved externals
Error executing link.exe.
ProcessList.exe - 17 error(s), 0 warning(s)
请问怎么解决?