i m trying to using Crypto++ with .Net framework in VC2005 Express
Edition.
But when i starting inlcuding same header file which provide by Crypto+
+ , like "rsa.h",
i m getting the compile time error as following,

-----------------------------------------------------------------------------------------------------------------------------
1>c:\program files\cryptopp\include\cryptlib.h(288) : error C3641:
'CryptoPP::NameValuePairs::ThrowIfTypeMismatch' : invalid calling
convention '__cdecl ' for function compiled with /clr:pure or /
clr:safe
1>c:\program files\cryptopp\include\misc.h(530) : error C3861:
'_rotl16': identifier not found
1>c:\program files\cryptopp\include\misc.h(536) : error C3861:
'_rotr16': identifier not found
1>c:\program files\cryptopp\include\misc.h(542) : error C3861:
'_rotl16': identifier not found
1>c:\program files\cryptopp\include\misc.h(548) : error C3861:
'_rotr16': identifier not found
1>c:\program files\cryptopp\include\misc.h(553) : error C3861:
'_rotl16': identifier not found
1>c:\program files\cryptopp\include\misc.h(558) : error C3861:
'_rotr16': identifier not found
1>c:\program files\cryptopp\include\misc.h(564) : error C3861:
'_rotl8': identifier not found
1>c:\program files\cryptopp\include\misc.h(570) : error C3861:
'_rotr8': identifier not found
1>c:\program files\cryptopp\include\misc.h(576) : error C3861:
'_rotl8': identifier not found
1>c:\program files\cryptopp\include\misc.h(582) : error C3861:
'_rotr8': identifier not found
1>c:\program files\cryptopp\include\misc.h(587) : error C3861:
'_rotl8': identifier not found
1>c:\program files\cryptopp\include\misc.h(592) : error C3861:
'_rotr8': identifier not found
1>c:\program files\cryptopp\include\pubkey.h(489) : error C3641:
'CryptoPP::P1363_MGF1::StaticAlgorithmName' : invalid calling
convention '__cdecl ' for function compiled with /clr:pure or /
clr:safe
1>c:\program files\cryptopp\include\pkcspad.h(58) : error C3641:
'CryptoPP::PKCS1v15_SignatureMessageEncodingMethod::StaticAlgorithmName' :
invalid calling convention '__cdecl ' for function compiled with /
clr:pure or /clr:safe
1>c:\program files\cryptopp\include\sha.h(14) : error C3641:
'CryptoPP::SHA1::StaticAlgorithmName' : invalid calling convention
'__cdecl ' for function compiled with /clr:pure or /clr:safe
1>c:\program files\cryptopp\include\sha.h(25) : error C3641:
'CryptoPP::SHA256::StaticAlgorithmName' : invalid calling convention
'__cdecl ' for function compiled with /clr:pure or /clr:safe
1>c:\program files\cryptopp\include\sha.h(33) : error C3641:
'CryptoPP::SHA224::Transform' : invalid calling convention '__cdecl '
for function compiled with /clr:pure or /clr:safe
1>c:\program files\cryptopp\include\sha.h(34) : error C3641:
'CryptoPP::SHA224::StaticAlgorithmName' : invalid calling convention
'__cdecl ' for function compiled with /clr:pure or /clr:safe
1>c:\program files\cryptopp\include\sha.h(45) : error C3641:
'CryptoPP::SHA512::StaticAlgorithmName' : invalid calling convention
'__cdecl ' for function compiled with /clr:pure or /clr:safe
1>c:\program files\cryptopp\include\sha.h(53) : error C3641:
'CryptoPP::SHA384::Transform' : invalid calling convention '__cdecl '
for function compiled with /clr:pure or /clr:safe
1>c:\program files\cryptopp\include\sha.h(54) : error C3641:
'CryptoPP::SHA384::StaticAlgorithmName' : invalid calling convention
'__cdecl ' for function compiled with /clr:pure or /clr:safe
1>c:\program files\cryptopp\include\emsa2.h(62) : error C3641:
'CryptoPP::EMSA2Pad::StaticAlgorithmName' : invalid calling convention
'__cdecl ' for function compiled with /clr:pure or /clr:safe
1>C:\Program Files\CryptoPP\include\rsa.h(123) : error C3641:
'CryptoPP::RSA::StaticAlgorithmName' : invalid calling convention
'__cdecl ' for function compiled with /clr:pure or /clr:safe
1>C:\Program Files\CryptoPP\include\rsa.h(143) : error C3641:
'CryptoPP::RSA_ISO::StaticAlgorithmName' : invalid calling convention
'__cdecl ' for function compiled with /clr:pure or /clr:safe
-----------------------------------------------------------------------------------------------------------------------------

beside that , i check the setting of "Common Language Runtime
support" , it already set as "/clr : pure".
can someone help me~~~
many thanks


--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---

Reply via email to