Oh, certainly I add these files into project through Project "Add to Project" before I posted, and so I post the issue.
I even use the following link command. It still does not work
Code:
link -debug:full -debugtype:cv /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /
RELEASE /NOLOGO -subsystem:windows,4.0 iis.obj builddict.obj iis.res libc.lib
oldnames.lib kernel32.lib ws2_32.lib mswsock.lib advapi32.lib user32.lib gdi32.
lib comdlg32.lib winspool.lib version.lib comctl32.lib shell32.lib -out:is.exe
iis.obj : error LNK2001: unresolved external symbol "int __cdecl lm(int,char *)"
(?lm@@YAHHPAD@Z)
is.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
Second, I have lot other codes in c. You can see I simplify the code to try it out.
Thanks,