Hi Rick,

'The application failed to initialize properly' would indicate the problem
is most likely not in Crypto++.

Can you zip up the code and email it to [EMAIL PROTECTED]

Jeff
Jeffrey Walton


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Murata, Rick
Sent: Tuesday, June 29, 2004 1:43 PM
To: '[EMAIL PROTECTED]'
Subject: VC++ Release vs. Debug (FIPS 140)


I am new to Crypto++ and wrote a small application that successfully uses
the SHA, AES, X917 and RSA methods under the debug build.  However, when I
try and build my application to use the release build of cryptopp.dll, it
compiles and links fine but returns "The application failed to initialize
properly (0xc0000005)" and then "Unhandled exception in Crypto.exe
(NTDLL.DLL): 0XC0000005: Access Violation".  I have placed a copy of the
release build dll into the directory with the exe and have directed the
linker to use the cryptopp.lib in the /crypto++/release directory

I read the 'fact-o-matic' and have tried several different settings under
'Project/Settings/C/C++/Use run time library:'

Here are the last settings I tried:  '/nologo /Gz /MD /W3 /GX /O2 /I
"\Crypto++\Include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D
"CRYPTOPP_DLL_ONLY" /Fp"Release/Crypto.pch" /YX /Fo"Release/"
/Fd"Release/" /FD /I /Crypto++/Include" " /c'

Any help/guidance would be greatly appreciated!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to