Can
you narrow it down some more, such as the file and line number in OpenSSL at
which the crash occurs. If the crash occurs inside the C Runtime library
such as inside the fopen function can you tell us which file and line number at
which the call to this function was made. There are many people on this
list willing to help but you need to provide enough information to make it
possible to help. If you have the CRT source installed you should also be
able to provide the file and line number of the crash if it does occur inside a
C Runtime function.
Have
you checked that the compiler options used when building OpenSSL and your own
code are compatible? eg. do you see /MD for both. You may have to
disable the /nologo option in the MSVC IDE to see the commands as they are
executed.
Regards,
Steven
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Saladine Hachem
Sent: Tuesday, 20 April 2004 10:29 PM
To: [EMAIL PROTECTED]
Subject: RE: Any body doesn't want to help me?!!!!!Thank you.My program crashes when it try to execute the functionPEM_read_RSAPrivateKey(file, NULL,NULL,NULL)). I am sure that "file" is valid.My program can execute the functionRSA_generate_key(512,RSA_F4,NULL,NULL) without any problem.The Type fo my VC++ project is MFC AppWizard(dll).The type of my VB project is "EXE STANDARD" .Steven Reddie <[EMAIL PROTECTED]> wrote:Have you traced through with a debuuger? Where does it crash?-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Saladine Hachem
Sent: Tuesday, 20 April 2004 7:40 PM
To: [EMAIL PROTECTED]
Subject: Any body doesn't want to help me?!!!!!
Hi,I have developped a DLL with visual C++ 6.0 using the latest version of openssl 0.9.7d.I am sure that my DLL links against the same version of the Win32 C-Runtime against which my openssl libraries were linked ("Multithreaded DLL").My problem is that when I try to use this DLL with visual Basic my program crashes whenever my VB application calls an openssl's I/O function embedded in the VC++ DLL.Can anybody help me please ?
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !