Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: R.a.B.B.i.T on July 09, 2005, 11:01 AM

Title: DecodeCDKey() Is Toying With Me
Post by: R.a.B.B.i.T on July 09, 2005, 11:01 AM
error LNK2001: unresolved external symbol _DecodeCDKeyI'm using the code from BnetAuth, and I got stuck here.  Searches turn up nothing.  It's toying with my brain, I tell you.
Title: Re: DecodeCDKey() Is Toying With Me
Post by: iago on July 09, 2005, 11:12 AM
That means it can't find the implementation of the function.

Make sure you're including the library file.  I think that's where it would be, but I'm not 100% sure. :/
Title: Re: DecodeCDKey() Is Toying With Me
Post by: R.a.B.B.i.T on July 09, 2005, 11:27 AM
It's code, not a call.  I have the function and declare in my project, and I'm including them.
Title: Re: DecodeCDKey() Is Toying With Me
Post by: Kp on July 09, 2005, 01:14 PM
Perhaps you mismatched C++ and C code then.  If you copied the source into your own project (which you shouldn't do!) and named it with a .cpp extension, the compiler might have mangled the name.  Link against the stock BNCSutil library and you should be fine.
Title: Re: DecodeCDKey() Is Toying With Me
Post by: shout on July 09, 2005, 02:40 PM
Quote from: rabbit on July 09, 2005, 11:01 AM
BnetAuth

BnetAuth is all in C++. It can't find the implementation.