On Wed, Oct 27, 2004, Tõnis wrote: > Hi, > > I'm trying to use OpenSSL ver 0.9.7 e/d version under Windows XP. I'm > using MS VC++ .NET 2002 which links libeay32.dll to MSVCR70* runtime. > I'm using /MD (multi-threaded DLL) switch. > > The problem is that libeay32.dll crashes on certain functions, for > example with rsa_sign(). Compiling libeay32.dll with /MDd (debug) gives > another failure points like bss_file.c: file_write(BIO*, ....) -> > fwrite.c:fwrite(void*,....) . Applications are compiled with the same > /MD switch. > > Anyone using openssl with .NET 2002 successfully? I cannot switch to > other VC++ versions because of Visibroker 6 library. >
Crashing during a BIO operation is the typical symptom of a runtime library mismatch. Are any external libraries you link to compatible with the /MD switch? Have you tried a simple program first to see if that compiles properly? Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]