all groups > visual studio .net debugging > november 2007 >
You're in the

visual studio .net debugging

group:

How to solve the lnk2019 error



How to solve the lnk2019 error zouhy
10/26/2006 12:00:00 AM
visual studio .net debugging: when i use vs.net 2005 to debug my program, there are some errors occur,
here is the description:

Error 1 error LNK2019: unresolved external symbol __imp__inflateInit2_
referenced in function "public: bool __thiscall
CZipArchive::OpenFile(unsigned short)" (?OpenFile@CZipArchive@@QAE_NG@Z)
d:\work\ZipExample\Zipd.lib 1

but i have add the lib "Zipd.lib" to the project, and this program can be
debug well in vc6.0, help me!

Re: How to solve the lnk2019 error Bryan Phillips
10/28/2006 11:22:24 PM
How did you add the lib file to the project? Normally, I just configure
the "Additional Library Directories" linker option.

Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com




[quoted text, click to view]
RE: How to solve the lnk2019 error zouhy
11/13/2007 11:41:39 PM
Thanks a lot, I have solved the problem, when i examine the addition lib source, I found that one function must be outport, but it is import, after correct, it can be linked!

From http://www.developmentnow.com/g/51_2006_10_0_0_840059/How-to-solve-the-lnk2019-error.htm

Posted via DevelopmentNow.com Groups
RE: How to solve the lnk2019 error zouhy
11/13/2007 11:42:10 PM
Thanks a lot, I have solved the problem, when i examine the addition lib source, I found that one function must be outport, but it is import, after correct, it can be linked!

From http://www.developmentnow.com/g/51_2006_10_0_0_840059/How-to-solve-the-lnk2019-error.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button