Re: [twsocket] ICS V7 bug ?

2009-07-26 Thread Angus Robertson - Magenta Systems Ltd
 Here is an article from Microsoft concerning the msvcr71.dll and 
 where to place it.  Another case of DLL hell.

The only safe way to install an ICS SSL application is to install the two
or three SSL and runtime DLLs in the same directory as the program.
Otherwise you may get conflicts with other applications also using
OpenSSL but using different SSL version DLLs that are either installed in
the windows directory or available via a path (as is Subversion).   I
learnt this the hard way, installing Subversion broke one of my servers.
Several FTP clients also use OpenSSL.  

Angus

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V7 bug ?

2009-07-26 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote:
 Here is an article from Microsoft concerning the msvcr71.dll and
 where to place it.  Another case of DLL hell.
 
 The only safe way to install an ICS SSL application is to install the
 two or three SSL and runtime DLLs in the same directory as the
 program. Otherwise you may get conflicts with other applications also
 using OpenSSL but using different SSL version DLLs that are either
 installed in the windows directory or available via a path (as is
 Subversion).   I learnt this the hard way, installing Subversion
 broke one of my servers. Several FTP clients also use OpenSSL.

I recently managed to build OpenSSL with C++ Builder, so one was 
able link .obj files rather than the libraries, though I'm not sure
whether OpenSSL license allowed this for closed-source applications.

--
Arno Garrels


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V7 bug ?

2009-07-26 Thread Paul

I always put the libraries in the application folder.
For one application, I probably need to switch to another library.
I tested RTC yesterday (RealThinClient).
It can use commercial SSL libraries like SecureBlackBox of which I have a 
license of an older version.


But after a simple test , I'll discard RTC
ICS with SSL was twice as fast as RTC with plain http.
It's not so thin either, the compiled exe was 126 kb larger and there's 
another 200kb for SecureBlackBox , but the complete package would be smaller 
because I don't need openSsl .

Using cab compression, the 2 openSSl libraries are still 613 kB

Paul


- Original Message - 
From: Arno Garrels arno.garr...@gmx.de

To: ICS support mailing twsocket@elists.org
Sent: Sunday, July 26, 2009 10:02 AM
Subject: Re: [twsocket] ICS V7 bug ?



Angus Robertson - Magenta Systems Ltd wrote:

Here is an article from Microsoft concerning the msvcr71.dll and
where to place it.  Another case of DLL hell.


The only safe way to install an ICS SSL application is to install the
two or three SSL and runtime DLLs in the same directory as the
program. Otherwise you may get conflicts with other applications also
using OpenSSL but using different SSL version DLLs that are either
installed in the windows directory or available via a path (as is
Subversion).   I learnt this the hard way, installing Subversion
broke one of my servers. Several FTP clients also use OpenSSL.


I recently managed to build OpenSSL with C++ Builder, so one was
able link .obj files rather than the libraries, though I'm not sure
whether OpenSSL license allowed this for closed-source applications.

--
Arno Garrels


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V7 bug ?

2009-07-26 Thread Francois PIETTE

I recently managed to build OpenSSL with C++ Builder, so one was
able link .obj files rather than the libraries, though I'm not sure
whether OpenSSL license allowed this for closed-source applications.


That is very interesting. Maybe you could create a wiki page to describe the 
required steps and provide any required file beside OpenSSl source code. 
Each person will then decide if the license allows him to do it or not.


--
francois.pie...@overbyte.be
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V7 bug ?

2009-07-26 Thread Arno Garrels
Francois PIETTE wrote:
 I recently managed to build OpenSSL with C++ Builder, so one was
 able link .obj files rather than the libraries, though I'm not sure
 whether OpenSSL license allowed this for closed-source applications.
 
 That is very interesting. Maybe you could create a wiki page to
 describe the required steps and provide any required file beside
 OpenSSl source code. Each person will then decide if the license
 allows him to do it or not. 

Building was no big problem. But it outputs over 600 .obj files and
two .lib files. They contain plenty of dependancies to other 
run-time libraries. So probably a huge effort to get it working in 
Delphi. I haven't tried this yet.

--
Arno Garrels
 


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V7 bug ?

2009-07-26 Thread Francois PIETTE

I recently managed to build OpenSSL with C++ Builder, so one was
able link .obj files rather than the libraries, though I'm not sure
whether OpenSSL license allowed this for closed-source applications.


That is very interesting. Maybe you could create a wiki page to
describe the required steps and provide any required file beside
OpenSSl source code. Each person will then decide if the license
allows him to do it or not.


Building was no big problem. But it outputs over 600 .obj files and
two .lib files. They contain plenty of dependancies to other
run-time libraries. So probably a huge effort to get it working in
Delphi. I haven't tried this yet.


Altough using in in Delphi is even more interesting, I was just thinking 
about publishing the procedure to rebuild OpenSSL DLL with C++Builder 2007 
and 2009.


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V7 bug ?

2009-07-26 Thread Arno Garrels
Francois PIETTE wrote:
 I recently managed to build OpenSSL with C++ Builder, so one was
 able link .obj files rather than the libraries, though I'm not sure
 whether OpenSSL license allowed this for closed-source
 applications. 
 
 That is very interesting. Maybe you could create a wiki page to
 describe the required steps and provide any required file beside
 OpenSSl source code. Each person will then decide if the license
 allows him to do it or not.
 
 Building was no big problem. But it outputs over 600 .obj files and
 two .lib files. They contain plenty of dependancies to other
 run-time libraries. So probably a huge effort to get it working in
 Delphi. I haven't tried this yet.
 
 Altough using in in Delphi is even more interesting, I was just
 thinking about publishing the procedure to rebuild OpenSSL DLL with
 C++Builder 2007 and 2009.

If there was a tool to build the DLLs from the .lib files it was 
easily possible. VS provides such a tool and the MinGW built uses some
third party tool to finally create the DLLs from the compiler output
(forgot their names).

--
Arno Garrels

 
 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS V7 bug ?

2009-07-26 Thread Francois PIETTE

I had understood that you rebuild OpenSSL DLL using BCB. Am I wrong ?

--
francois.pie...@overbyte.be
http://www.overbyte.be

- Original Message - 
From: Arno Garrels arno.garr...@gmx.de

To: ICS support mailing twsocket@elists.org
Sent: Sunday, July 26, 2009 8:59 PM
Subject: Re: [twsocket] ICS V7 bug ?



Francois PIETTE wrote:

I recently managed to build OpenSSL with C++ Builder, so one was
able link .obj files rather than the libraries, though I'm not sure
whether OpenSSL license allowed this for closed-source
applications. 


That is very interesting. Maybe you could create a wiki page to
describe the required steps and provide any required file beside
OpenSSl source code. Each person will then decide if the license
allows him to do it or not.


Building was no big problem. But it outputs over 600 .obj files and
two .lib files. They contain plenty of dependancies to other
run-time libraries. So probably a huge effort to get it working in
Delphi. I haven't tried this yet.


Altough using in in Delphi is even more interesting, I was just
thinking about publishing the procedure to rebuild OpenSSL DLL with
C++Builder 2007 and 2009.


If there was a tool to build the DLLs from the .lib files it was 
easily possible. VS provides such a tool and the MinGW built uses some

third party tool to finally create the DLLs from the compiler output
(forgot their names).

--
Arno Garrels



--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be