• Welcome to Valhalla Legends Archive.
 

DecodeCDKey() Is Toying With Me

Started by R.a.B.B.i.T, July 09, 2005, 11:01 AM

Previous topic - Next topic

R.a.B.B.i.T

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.

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. :/
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


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.

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.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

shout

Quote from: rabbit on July 09, 2005, 11:01 AM
BnetAuth

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