Does the test application included in the FIPS 140 distribution work in release mode? If so, look at what is different between your application and the test application. If you still can't figure it out, send me what the call stack looks like when the error occurs, and a zip of your source code and project files.
On Tue, Jun 29, 2004 at 10:43:15AM -0700, Murata, Rick wrote: > 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! > > >
