Linkage Error (or something)

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

a_lot_of_java
Posts: 2
Joined: 2003-04-21 08:21
Location: Stockholm/Sweden

Linkage Error (or something)

Post by a_lot_of_java » 2003-04-21 09:18

Hi everyone,
I tried to compile DC++, and got the huge list of errors. I resolved this by changing the order of the includes, just to discover the project could not be built anyway. The errors are 3:

1. DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall ADLSProperties::OnCloseCmd(unsigned short,unsigned short,struct HWND__ *,int &)" (?OnCloseCmd@ADLSProperties@@QAEJGGPAUHWND__@@AAH@Z) referenced in function "public: virtual int __thiscall ADLSProperties::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@ADLSProperties@@UAEHPAUHWND__@@IIJAAJK@Z)

2. DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall ADLSProperties::OnInitDialog(unsigned int,unsigned int,long,int &)" (?OnInitDialog@ADLSProperties@@QAEJIIJAAH@Z) referenced in function "public: virtual int __thiscall ADLSProperties::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@ADLSProperties@@UAEHPAUHWND__@@IIJAAJK@Z)

3. DCPlusPlus fatal error LNK1120: 2 unresolved externals

I assume error #3 will go away when #1 and #2 goes away. The problem is that they could have written these messages in Chinese, and I would have understood it just as well as I do in english... How can I get rid of these?

I use VC.NET and DC++ 0.242. I suck at VC++, by the way, so the problem might be easy to solve...

Thanks in advance,
Nille

gonzo
Posts: 2
Joined: 2003-04-21 16:11

Post by gonzo » 2003-04-21 16:22


a_lot_of_java
Posts: 2
Joined: 2003-04-21 08:21
Location: Stockholm/Sweden

Post by a_lot_of_java » 2003-04-21 20:38

Thanks!
That solved it! :D

Who is online

Users browsing this forum: Google [Bot] and 0 guests