ignore this, I'm used to the POSIX-system variants. :P -Kyle
On 2/20/06, Kyle Hamilton <[EMAIL PROTECTED]> wrote: > Also, you didn't compile openssl in debug mode, otherwise the > libeay32.dll!(address)() calls in the stack would be showing the > function names. To do so, you need to run: > > perl Configure -d [VC-NT | VC-WIN32] > > if you're running Visual C++. The -d causes it to build for the debug > target, which does a couple of useful things like leave symbols in, > not do massive optimizations, leave frame pointers in place, that sort > of thing. > > -Kyle H > > On 2/20/06, Matthias <[EMAIL PROTECTED]> wrote: > > Kyle Hamilton wrote: > > > > > Did you make sure to remove %SYSTEMROOT%\system32\ssleay32.dll and > > > libeay32.dll? Just running the uninstaller doesn't get rid of them. > > > > No, I forgot that. Sorry, my fault. > > > > I now replaced those two DLLs with the ones I compiled myself. > > > > Good news: in Release mode my program works as expected. > > > > Bad news: in Debug mode it crashes. > > > > ---------- snip ---------- > > > > 11ef2068() > > libeay32.dll!10051bdd() > > libeay32.dll!1004fc39() > > libeay32.dll!1004fb8d() > > libeay32.dll!100849fb() > > kernel32.dll!7c81102e() > > msvcr71d.dll!_write_lk(int fh=1, const void * buf=0x00000fa0, unsigned > > int cnt=270647770) Line 234 + 0x8 C > > msvcr71d.dll!_write(int fh=1244344, const void * buf=0x1021b45c, > > unsigned int cnt=1) Line 87 + 0x9 C > > msvcr71d.dll!_unlock_fhandle(int fh=1244344) Line 477 C > > 003f1fb8() > > msvcr71d.dll!_write(int fh=1244392, const void * buf=0x00000001, > > unsigned int cnt=270542996) Line 87 + 0x9 C > > msvcr71d.dll!_flsbuf(int ch=271042648, _iobuf * str=0x1024755c) Line > > 180 + 0x11 C > > msvcr71d.dll!fputc(int ch=10, _iobuf * str=0x1027c858) Line 56 + 0x9 C > > msvcr71d.dll!_tsopen_lk(int * punlock_flag=0x0000000a, int * > > pfh=0x1027c858, const char * path=0x0012fdb8, int oflag=273198671, int > > shflag=1244426, int pmode=273199175) Line 414 + 0xd C > > msvcp71d.dll!std::_Fputc<char>(char _Byte=' > > ', _iobuf * _File=0x1048b047) Line 69 + 0xf C++ > > msvcp71d.dll!std::basic_filebuf<char,std::char_traits<char> > > >::overflow(int _Meta=32768) Line 206 + 0x19 C++ > > 00000003() > > libeay32.dll!1005174d() > > libeay32.dll!1004fdde() > > libeay32.dll!10086c39() > > libeay32.dll!10085490() > > libeay32.dll!1008547d() > > CryptoOpenSSLTest5.exe!main(int argc=1, char * * argv=0x003f5a00) Line > > 82 + 0xf C++ > > CryptoOpenSSLTest5.exe!mainCRTStartup() Line 398 + 0x11 C > > kernel32.dll!7c816d4f() > > ntdll.dll!7c925b4f() > > kernel32.dll!7c8399f3() > > > > ---------- snap ---------- > > > > ______________________________________________________________________ > > OpenSSL Project http://www.openssl.org > > User Support Mailing List openssl-users@openssl.org > > Automated List Manager [EMAIL PROTECTED] > > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]