>----- Original Message ----- >From: "Dann Daggett" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, October 16, 2003 9:38 PM >Subject: RE: Intructions for Borland C++ compiler does not build dlls!? > > >>> At 02:36 PM 10/16/2003 +0000, Ram Mulay writeth: >>> I need to build libeay32.dll and ssleay32.dll but following >>> the instructions >>> given in the openssl documentation builds libeay32.lib and >>> ssleay32.lib. I >>> am not familiar with make files and hence I do not know how >>> to modify it to >>> build dlls instead. >>> >>> Can somebody tell me how to get the dlls instead of the lib files? >> >> The Win32 OpenSSL Installation Project has the default build >> of OpenSSL >> ready for use (and has libraries that Borland C++ Builder >> 4/5/6 can link >> against): >> http://www.shininglightpro.com/search.php?searchname=Win32+OpenSSL >> >>Hope this helps! > >By the way, I downloaded and tried that build for C++Builder 5 today >(I'm running XP). Perhaps I didn't install it correcty, but I overlaid >the 2 .lib's on top of the one's I had built from the source and were >already included in my project, etc. However, my app crashed with >access violations when I tried to run with the pre-builds. I had to >rebuild from the source again to restore those 2 libs and all was ok >again. > >I can do some additional testing if anyone from that project wishes >it.
That's really weird. You are the second person to say that you have problems with Builder 5 working with Win32 OpenSSL. I've got Builder 5 Enterprise and have no problems with it working with Win32 OpenSSL 0.9.7c (ProtoNova is compiled with Builder 5 and I haven't had any exceptions raised). What version of OpenSSL are you running with? Do you have the latest patches for Builder 5? Did you try 'implib' on the pre-built DLLs (does that fix the problem)? Did you copy the contents of the 'include' directory to your Borland installation (I doubt that this would fix anything, but just to cover that bases)? Did you try re-building your entire project? Where were the access violations? Are you using command-line or GUI mode? VCL or no? Are you able to step through with a debugger to the point of failure? Can I get some sample source code that causes the problems to occur? Does your code compile with MSVC, if so, does it still raise an exception? Technically, there should nothing wrong with the DLLs. They are just like every other DLL on the system with exports, etc. (and they are built with MSVC++). Now, it is possible that Borland's debugger is not playing nice with MSVC++ compiled OpenSSL DLLs (perhaps playing relocation games it shouldn't play?), but I can't think of a single reason for Builder 5 on two people's machines (yours and someone else's) to have a problem with Win32 OpenSSL while my installation (along with a number of other people using Builder 5/6) works just fine. (Obviously it works on my machine - it always does for the developer - but something is broken somewhere and I'd like to figure out what is going on so it can at least be documented if not fixed). Hope this helps! Thomas J. Hruska -- [EMAIL PROTECTED] Shining Light Productions -- "Meeting the needs of fellow programmers" http://www.shininglightpro.com/ `'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~ Tired of expensive $5,000+ web application servers like ColdFusion? Try Nuclear Vision today! http://internal.shininglightpro.com/search.nvm?searchname=Nuclear+Vision Announcing Nuclear Vision v1.1, a superior scripting language with powerful features in a HTML-like syntax. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]