Valhalla Legends Forums Archive | Battle.net Bot Development | DecodeCDKey() Is Toying With Me

AuthorMessageTime
R.a.B.B.i.T
[code]error LNK2001: unresolved external symbol _DecodeCDKey[/code]I'm using the code from BnetAuth, and I got stuck here.  Searches turn up nothing.  It's toying with my brain, I tell you.
July 9, 2005, 4:01 PM
iago
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. :/
July 9, 2005, 4:12 PM
R.a.B.B.i.T
It's code, not a call.  I have the function and declare in my project, and I'm including them.
July 9, 2005, 4:27 PM
Kp
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.
July 9, 2005, 6:14 PM
shout
[quote author=rabbit link=topic=12153.msg119823#msg119823 date=1120924871]
BnetAuth[/quote]

BnetAuth is all in C++. It can't find the implementation.
July 9, 2005, 7:40 PM

Search