Paul - 

Most errors in app development with OpenSSL in VC++ arise from the fact
that you are linking against the wrong c-runtime.  The default build is
/MD for multi-threaded dll for openssl.  The defaults for a new project
in vc++ is Single-threaded.

An easy way to get the project settings correct - is to download the
VC++ workspace for openssl at http://www.iconsinc.com/~agray/ossldev and
copy out any one of the applications and go through how the settings are
done.

Regards,
Andrew

Paul Baranowski wrote:
> 
>         I have been trying to compile an OpenSSL sample project in VC++ without
> success.  I was wondering if anyone had a test program & project file lying
> around that they could send to me?  I would have sent the test program I am
> working on but I dont have it with me right now.  Are there any special
> tricks to making OpenSSL stuff compile under VC++?  I have included all the
> libraries, but it is giving me errors about things like __imp_abort is not
> defined, making me think there is something fishy going on between C and
> C++, because that looks like a name-mangled call to abort.  Perhaps I need
> to recompile my OpenSSL libraries using the /TP option?  (/TP makes sure all
> C code is compiled as C++ code)
>         If you have a test program/project please post!  Thanks!
> 
> Paul Baranowski
> 
> ______________________________________________________________________
> 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