error LNK2001: unresolved external symbol _strnicmp
-
hi all, again i got this error error LNK2001: unresolved external symbol _strnicmp which library to link ? plz help me regards
venu
-
Hi, good question ... a) libc.lib -> single threaded, static link b) libcmt.lib -> multithreaded, static link c) msvcrt.lib -> multithreaded, dynamic link and for debugging versions libcd.lib libcmtd.lib msvcrtd.lib HTH Frank
hi Frank, thank you for reply.. still i am getting this error fatal error LNK1104: cannot open file libcd.lib fatal error LNK1104: cannot open file libcmtd.lib fatal error LNK1104: cannot open file 'msvcrtd.lib do i need to add any include path ? regards
venu
-
hi Frank, thank you for reply.. still i am getting this error fatal error LNK1104: cannot open file libcd.lib fatal error LNK1104: cannot open file libcmtd.lib fatal error LNK1104: cannot open file 'msvcrtd.lib do i need to add any include path ? regards
venu
Are you sure File is exist and path is correct?
_**
**_
WhiteSky
-
hi Frank, thank you for reply.. still i am getting this error fatal error LNK1104: cannot open file libcd.lib fatal error LNK1104: cannot open file libcmtd.lib fatal error LNK1104: cannot open file 'msvcrtd.lib do i need to add any include path ? regards
venu
Hi, you need only one of this libraries. Each of this libraries has the "same" functions, but for other threading and linking! Include path: Version 1: (for the studio) Tools->Options Dialog-Tab: Directories Choose: Library Files and add the directory from the lib Version 2: (only the project) Use Project-->Settings-->Link-->Object\Library module edit box. the correct path for you = ??? -> search for one of this files -> possible results: c:\program files\Microsoft Visual Studio\VC98\Lib c:\program files\Microsoft SDK\lib If you found more than one locations, use the newest versions. (e.g. SDK -> include order) HTH Frank