linking error
Files: MainDlg.cpp, MainDlg.h, Dialog1.cpp, Dialog1.h, Dialog2.cpp, Dialog2.h, etc.
I have following linking error when compile. Compilation is OK but linking is having problem. What would be the reason and how to fix it? Please see attached MainDlg.txt (MainDlg.cpp, MainDlg.h) and Dialog1.txt (Dialog1.cpp, Dialog1.h)
Dialog2.cpp also has the similar structure of Dialog1, but use Convert2DWord.
Please advise.
--------------
Linking...
LINK : warning LNK4098: defaultlib "mfc42.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfcs42.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
Dialog1.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMainDlg::Convert2String(int *,char *)" (?Convert2String@CMainDlg@@QAEXPAHPAD@Z)
Dialog2.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMainDlg::Convert2DWord(char *,int *)" (?Convert2Dword@CMainDlg@@QAEXPADPAH@Z)
nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv
nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc
nafxcw.lib(filelist.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcw.lib(timecore.obj) : error LNK2001: unresolved external symbol __mbctype
Release/Main.exe : fatal error LNK1120: 18 unresolved externals
Error executing link.exe.

