Depending on how you install VC you can have issues with threading.  If you
compile for multithreading but have the single thread only version of VC 
loaded,
I recall problems...


At 08:25 AM 1/21/00 +0000, Andrew Cooke wrote:

>Hi,
>
>I've compiled 0.9.4 using VC5 and haven't had any problems.
>
>As far as I remember, I just followed the instructions in INSTALL.W32.
>In particular, I don't remember specifying anything about threads
>(although the makefile ms\ntdll.mak does include the MD flag).  The
>library is used in multithreaded code and has not had any problems (as S
>Henson says, the calling code must also be compiled with the MD flag).
>
>However, I do call CRYPTO_set_locking_callback with a routine that I
>lifted from mttest.c (according to the comments in my code).  I have no
>idea whether the library will work without this (it sets up a bunch of
>mutexes for locking).
>
>Andrew
>
>
>Lucia Bonelli wrote:
> >
> > Hi all.
> >
> > I succefully compiled openssl0.9.4 on VC++6.0  with the /MD option (for
> > multithreading).
> > Then, I built another DLL (also with the /MD option) wich uses the
> > libeay32.dll, particularly the PEM I/O routines.  At run time, everytime
> > my DLL calls  such routines (for example PEM_ASN1_write ) an exception
> > of access violation occurs.
> >
> > Can anybody help me?
> >
> > Thanks in advance, Lucia
> >
> > --
> > Lucia Bonelli
> > Engineering Ingegneria Informatica SpA
> > Laboratorio Ricerca & Sviluppo
> > Viale del Castro Pretorio, 116
> > 00185 Roma Italia
> > Tel. +39 06 44741123
> >
> > ______________________________________________________________________
> > 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]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to