Steve, thanks for your help.

I was able to get  things working after compiling all my application code with the /MD 
option.  If my application will not be multi-threaded, can I build openssl without the 
/MD to produce a single-threaded .dll ?  Would there be any unexpected ramifications ?

thanks again,

Bob.

Dr Stephen Henson wrote:

> Bob Ollila wrote:
> >
> > Steve, thanks for your help, but I think I need a little more 
>detail/clarification.  The standard build of openssl includes the /MD flag, so I 
>assume that the libs that were built were the multithreaded libs?  Does my 
>application need to specify this same option when compiling? - or when linking?  What 
>else do I need to do ?
> >
>
> As mentioned in INSTALL.W32 your applications need to use the same
> runtime library option otherwise there is a library conflict and things
> crash rather quickly.
>
> AFAIK (and I'm no VC++ expert) theres some stuff put in object files too
> so you need to include the option for compiling and linking.
>
> Under VC++ its project->settings->C/C++->(category)Code Generation->Use
> runtime library which should be set to "multi threaded DLL".
>
> BTW does anyone know an alternative way of handling things? Is it normal
> for libraries to always have to use the same runtime library so you
> might need up to six version of the same library with all the relevant
> runtime library combinations?
>
> Steve.
> --
> Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
> Personal Email: [EMAIL PROTECTED]
> Senior crypto engineer, Celo Communications: http://www.celocom.com/
> Core developer of the   OpenSSL project: http://www.openssl.org/
> Business Email: [EMAIL PROTECTED] PGP key: via homepage.
>
> ______________________________________________________________________
> OpenSSL Project                                http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

--
Bob Ollila - [EMAIL PROTECTED]
(603)665-8100, (603)665-8103 fax
TerraLink Technologies - http://www.terralinktech.com
1600 Candia Road, Suite 5, Manchester NH 03109


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

Reply via email to