Nicolas, make sure that you compile your program so that it uses the correct runtime-environment. For this, check the following setting: <Project-Settings>, tab <C/C++>, Category = "Code generation", Option = "Use run-time library" If your program uses the release build of OpenSSL libraries, set this to "Multithreaded DLL". If you're using debug builds of the OpenSSL libraries, set this to "Debug Multithreaded DLL". Recompile your application, it should work fine now. For more info: See the OpenSSL FAQ (http://www.openssl.org/support/faq.html#PROG2)
Steve Nicolas Chelebifski wrote: > Hi everyone, > > Under the window 2000 with VC++ 6, I have the following example program > which is always crashes when calls PEM_write_PKCS7 function. But the same > program is working well under the unix, Solaris 2.7, environment. > > The error message is: > > --------------------------------------------------------------------------- > Unhandled exception in myProg.exe (NTDLL.DLL): 0xC0000005: Access Violation > --------------------------------------------------------------------------- > > Has anyone same experience? > > Thanks advanced, > > Nicolas Chelebifski. > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]