Hi Chriss, > Since I am a total newbie in C++ I tried to copy paste from the > test.cpp example Don't use the Dll version of the library. It is complicating things for you.
> It seems that i am missing something with linking, could someone give > some directions? (please use non c++ expert terms) The lib files for the Dll are locate in ...Dll_Output\Win32 Jeff On Thu, Sep 11, 2008 at 6:16 AM, ChrissDeGrece <[EMAIL PROTECTED]> wrote: > > The whole solution was built fine and I also tried the cryptest.exe > which also worked fine. > > So, I added to the solution a new project which is supposed to be a > single DLL which will then be used from Powerbuilder in order to > encrypt/decrypt strings. > > Since I am a total newbie in C++ I tried to copy paste from the > test.cpp example , > I copied the "includes" and the two functions "EncryptString / > DecryptString" > > As anyone would expect this did not work and i got 2 nice errors: > > ----------- Errors ------------ > Error 10 error LNK2001: unresolved external symbol "public: __thiscall > CryptoPP::DefaultDecryptorWithMAC::DefaultDecryptorWithMAC(char const > *,class CryptoPP::BufferedTransformation *,bool)" (?? > [EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@Z) > hashlibp.obj hashlibp > > Error 11 error LNK2001: unresolved external symbol "public: __thiscall > CryptoPP::DefaultEncryptorWithMAC::DefaultEncryptorWithMAC(char const > *,class CryptoPP::BufferedTransformation *)" (?? > [EMAIL PROTECTED]@@[EMAIL PROTECTED]@1@@Z) > hashlibp.obj hashlibp > --------End Errors------------ > > It seems that i am missing something with linking, could someone give > some directions? (please use non c++ expert terms) > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [EMAIL PROTECTED] More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~---
