For the longest time I've been trying to get the AP classes to work with Visual C++ 6.0, but I can't. Anyway, I used some installer to put them in the right directory and such, and it worked...I think. The compiler finds the ap classes, but I can't really use them. Here's a little example along with the error message I was slapped down with.
#include <iostream.h>
#include <apstring.h>
void main ()
{
apstring thiswontwork("I will never be displayed");
cout << thiswontwork;
}
--------------------Configuration: APJunk2 - Win32 Debug--------------------
Compiling...
source.cpp
Linking...
source.obj : error LNK2001: unresolved external symbol "public: __thiscall apstring::~apstring(void)" (??1apstring@@QAE@XZ)
source.obj : error LNK2001: unresolved external symbol "class ostream & __cdecl operator<<(class ostream &,class apstring const &)" (??6@YAAAVostream@@AAV0@ABVapstring@@@Z)
source.obj : error LNK2001: unresolved external symbol "public: __thiscall apstring::apstring(char const *)" (??0apstring@@QAE@PBD@Z)
Debug/APJunk2.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
APJunk2.exe - 4 error(s), 0 warning(s)