be careful VB requires _stdcall as a calling convention.
and all of Openssl is compiled with _cdecl.

 


> On Tue, Apr 20, 2004, Saladine Hachem wrote:
> 
> > 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 ?
> > 
> 
> Perhaps if you gave a more meaninful bug report such as indicating which
> function your program crashed on and how you are attempting to call OpenSSL
> from visual basic?
> 
> 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]
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to