error LNK2001: unresolved external symbol _DecodeCDKey
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.
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. :/
It's code, not a call. I have the function and declare in my project, and I'm including them.
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.
Quote from: rabbit on July 09, 2005, 11:01 AM
BnetAuth
BnetAuth is all in C++. It can't find the implementation.