Geoff,
Thanks for this, I understand what's going wrong now, it does build fine if I do a release build, which is what you have suggested below. I'll get around it by forcing it to produce and executable in debug mode.
Thanks again
------------------------------------------------
Neil Hague
Software Engineer
JSB Software Technologies Ltd,
Riverside,
Mountbatten Way,
Congleton,
Cheshire,
CW12 1DY
Email: [EMAIL PROTECTED]
------------------------------------------------
[snip]
This happens because the object files you have built up until that point
have been compiled for libcmtd.lib (the debug libc runtime library) but
this link phase is trying to link with the openssl libraries which have
been linked against the msvcrt runtime library. If you try building your
existing app with MSVCRT you should find the error goes away, or you could
try rebuilding openssl with the same c runtime you're using. Note, you
appear to be building with the debug version libraries here so you may
want to also match that up between the two.
As for how to do that - not sure, could involve some hacking. In OpenSSL,
you should be able to control it by changing the appropriate flag passed
to the compiler (cl.exe), and by changing the appropriate flag and
possibly also library passed to the linker (link.exe). For your own code,
that will depend on what you are doing and how. Hope that helps?
Cheers,
Geoff
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
****************************************************************************
This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of JSB.
If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please contact the sender.
****************************************************************************
