473,395 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problem compiling a VC++ 6.0 Com in .Net Editor

Hi there

I'm having problem compiling my code. I have a library along with its header
file that I've used in my Com project. On compilation I get this linking
error. Does anyone have any idea how to remove these linker errors. The
problem comes only when I use a class (exists in library) variable in my Com
code.

TestAPP error LNK2019: unresolved external symbol _crc32 referenced in
function "public: unsigned long __thiscall CMyArchive::ReadFile(void
*,unsigned long)" (?ReadFile@CMyArchive@@QAEKPAXK@Z)
TestAPP error LNK2019: unresolved external symbol _deflate referenced in
function "public: bool __thiscall CMyArchive::WriteNewFile(void *,unsigned
long)" (?WriteNewFile@CMyArchive@@QAE_NPAXK@Z)
TestAPP error LNK2019: unresolved external symbol _deflateEnd referenced in
function "public: bool __thiscall CMyArchive::CloseNewFile(void)"
(?CloseNewFile@CMyArchive@@QAE_NXZ)
TestAPP error LNK2019: unresolved external symbol _deflateInit2_ referenced
in function "public: bool __thiscall CMyArchive::OpenNewFile(class
CHCZipFileHeader &,int,char const *)"
(?OpenNewFile@CMyArchive@@QAE_NAAVCHCZipFileHeader @@HPBD@Z)
TestAPP error LNK2019: unresolved external symbol _get_crc_table referenced
in function "protected: unsigned long __thiscall
CMyArchive::CryptCRC32(unsigned long,char)"
(?CryptCRC32@CMyArchive@@IAEKKD@Z)
TestAPP error LNK2019: unresolved external symbol _inflate referenced in
function "public: unsigned long __thiscall CMyArchive::ReadFile(void
*,unsigned long)" (?ReadFile@CMyArchive@@QAEKPAXK@Z)
TestAPP error LNK2019: unresolved external symbol _inflateEnd referenced in
function "public: int __thiscall CMyArchive::CloseFile(char const *,bool)"
(?CloseFile@CMyArchive@@QAEHPBD_N@Z)
TestAPP error LNK2019: unresolved external symbol _inflateInit2_ referenced
in function "public: bool __thiscall CMyArchive::OpenFile(unsigned short)"
(?OpenFile@CMyArchive@@QAE_NG@Z)
TestAPP fatal error LNK1120: 8 unresolved externals

Regards
Usman
Dec 10 '05 #1
0 1002

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: J | last post by:
Hi everyone, I started embedding python into a 3D graphics App and I came across this linking problem. SO.lib(ScnGlobal.obj) : error LNK2001: unresolved external symbol...
2
by: Serengeti | last post by:
Hello, in my class I have a map that translates strings to pointers to some member functions. The code goes like this: class F { typedef void (Function::*MathFuncPtr)(); std::map<std::string,...
13
by: john.constantine | last post by:
Hi I have this code: template<typename ClassType> struct S { template<typename FunctionType> void member() {}; };
3
by: John R. Delaney | last post by:
I am running in debugging mode after a clean C++ compilation under .NET 2003. In a BIG loop (controlled many levels up in the call stack), I open a file with fopen using the "a" option. Then I write...
2
by: Edward Diener | last post by:
In C++ an overridden virtual function in a derived class must have the exact same signature of the function which is overridden in the base class, except for the return type which may return a...
2
by: Ufit | last post by:
Is there any free resource editor with full visual support for creating dialogs and controlls? I came across a particular problem when creating menu - it is impossible to assign IDs to popup items...
1
by: Arsalan Ahmad | last post by:
Hi all, I am trying to compile some source files using makefile. While compiling I am getting errors as shown below. Any idea how can I solve this problem. I believe I need to add some...
0
by: anupamak | last post by:
hello, I created a win32 project(precompiled headers, console application). This was created to create a service( for which i used SERVICE_TABLE_ENTRY, SERVICE_STATUS, SERVICE_STATUS_HANDLE,...
1
by: jon2211 | last post by:
I tried to compile some code with #include <shellapi.h. I am linking shell32.lib. I am not trying to use ShellExecute() but right now just getting the code to compile with the header file an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.