Click here to Skip to main content
15,893,663 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i downloaded a source code from XZip and XUnzip - Add zip and/or unzip to your app with no extra .lib or .dll[^]

but when i added them to my project ,i got:

VB
1>XZip.obj : error LNK2001: :unresolved external symbol _stricmp
1>XZip.obj : error LNK2001: :unresolved external symbol _tzset


I have searched for a long time ,but i can't get anything helpful...
Posted
Comments
chandanadhikari 27-Aug-13 3:15am    
hi,
which visual studio are you using (2008/2010/2012 )? when you opened the project in visual studio did it ask it to convert it ? i mean the project code was for vs2008 but you opened it in a later version so it asks for conversion of project and between various releases the visual Studio libraries change which might cause the problem.....try including string.h or wchar.h or mbstring.h ...the link error with _stricmp may go away...post here what happens .

Many string related C functions have been changed in VS 2008, specifically the internal ones like those causing your errors. The newest version of that lib supports only 2005. So you probably need to convert the XZip files and adapt the string function calls manually.

That said, it's probably better you post a request on that behalf on the page of that article. The author may be able to give you more concise instructions, or maybe he'll fix it himself.
 
Share this answer
 
Check this link. This could be the reason

324079-Why cant this Compile[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900