Hello,

I'm trying to use the cryptopp.dll in a COM-Dll.
I'm compiling with MSVisual Studio 7, on WinXP.
When Im compling I become at some functions linker-errors... Very cryptic linker errors looking like that:
"SecCrypto error LNK2019: Nicht aufgel�stes externes Symbol '"public: __thiscall CryptoPP::DefaultEncryptorWithMAC::DefaultEncryptorWithMAC(char const *,class CryptoPP::BufferedTransformation *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@1@@Z)', verwiesen in Funktion '"void __cdecl EncryptFileA(char const *,char const *,char const *)" (?EncryptFileA@@[EMAIL PROTECTED])'"

 
But not with all Functions of the cryptPP-dll.
 
This works:
 

RandomPool randPool;

randPool.Put((byte *)seed, strlen(seed));

InvertibleRSAFunction privkey;

privkey.GenerateRandomWithKeySize(randPool,keyLength);

 

This not:

RandomPool randPool;

randPool.Put((byte *)seed, strlen(seed));

RSAES_OAEP_SHA_Decryptor priv(randPool, keyLength);


This not as well:

FileSource f(in,true, new DefaultEncryptorWithMAC(passPhrase, new FileSink(out)));

Has anybody an idea what my mistake could be?

If its better for you I can show xou my complete Project.

Hope someone can give me a clue?

Meike Behrens

 

PS: Sorry for my bad english.

Reply via email to