Hi,
Using Visual c++ 2003 on windows 2000 sp4. I downloaded the 11mb "cryptopp523win32.zip" from http://www.eskimo.com/~weidai/cryptlib.html. After extracting, I used the dll and lib from the Debug folder. Created a new project and wrote:
#include <sha.h>
using namespace CryptoPP;
int _tmain(int argc, _TCHAR* argv[])
{
SHA1 s;//= new SHA1 ();
.......
}
if I build the code, it builds fine. When I run, the application crashes at the declaration of SHA variable with the following message:
Unhandled exception at 0x7c4ea4e1 in test777.exe: Microsoft C++ exception: int @ 0x0012dba8.
How do I fix this?
Also, with the same download that I have, can I also use it for visual c++ 2005? Becuase thats the main compiler I'm using for my project. I have tried it with 2k5 compiler but it gives the following error:
Unhandled exception at 0x7c4ea4e1 in crypttest.exe: Microsoft C++ exception: CryptoPP::SelfTestFailure at memory location 0x0012e3bc..
Regards,
Ab.
