Board index » cppbuilder » How to Install ICS into BDS2006

How to Install ICS into BDS2006


2006-06-02 02:05:13 AM
cppbuilder4
I have the demo version of BDS2006 and I want to install the latest ICS
(www.overbyte.be) suite into the C++ personality. How do I do it?
In BCB5, I could choose "Install Component" from the "Component" menu, and
then navigate to C:\ics\Delphi\Vc32\IcsBcb50.bpk
There does not seem to be anything like this in BDS2006. TIA,
 
 

Re:How to Install ICS into BDS2006

Mark Jacobs wrote:
Quote
I have the demo version of BDS2006 and I want to install the latest ICS
(www.overbyte.be) suite into the C++ personality. How do I do it?
Which version of ICS are you trying to install. Mine is the V5. You have
to install it using the Delphi2006 procedure. That means loading and
compiling IcsDel100.bdsproj and specifying the 'generate all C++
headers' or something like stated in the readme file.
Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
www.leunen.com/
----------------------------------------
 

Re:How to Install ICS into BDS2006

Michel Leunen wrote:
Quote
or something like stated in the readme file.
or something like this as stated in the readme.
Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
www.leunen.com/
----------------------------------------
 

{smallsort}

Re:How to Install ICS into BDS2006

Michel Leunen wrote:
Quote
Which version of ICS are you trying to install. Mine is the V5. You
have to install it using the Delphi2006 procedure. That means loading
and compiling IcsDel100.bdsproj and specifying the 'generate all C++
headers' or something like stated in the readme file.
I think it's the same version (just released this month). Thanks, I'll give
that a go.
--
Mark Jacobs
jacobsm.com
 

Re:How to Install ICS into BDS2006

Mark Jacobs wrote:
Quote
I want to install the latest ICS (www.overbyte.be) suite
Your question seems to be answered, so I'll not repeat that.
Can you tell me why you want to use ICS instead of Indy? I'm only
really interested in technical info, so if it's for personal or
political reasons I don't need the details.
Do they provide capabilities not supported by Indy? Do they work
better than Indy in some way? If so, any details would be
appreciated.
Right now all I use are the TIdHTTP and TIdFTP controls from Indy9 and
the TCppWebBrowser from BDS, but who knows what I may want to use in
the future. I am particularly interested in any way to embed the
Gecko engine in a BCB app without resorting to ActiveX, though I
expect that I would have heard if ICS provided this.
Thanks.
- Leo
 

Re:How to Install ICS into BDS2006

Leo Siefert wrote:
Quote
Can you tell me why you want to use ICS instead of Indy? I'm only
really interested in technical info, so if it's for personal or
political reasons I don't need the details.

Do they provide capabilities not supported by Indy? Do they work
better than Indy in some way? If so, any details would be
appreciated.

Right now all I use are the TIdHTTP and TIdFTP controls from Indy9 and
the TCppWebBrowser from BDS, but who knows what I may want to use in
the future. I am particularly interested in any way to embed the
Gecko engine in a BCB app without resorting to ActiveX, though I
expect that I would have heard if ICS provided this.
I am using ICS to send an email with optional attachments. I wanted a simple
SMTP handler, and I've never used Indy before. The routine below knows
whether to keep the connection going if the host and username have not
changed from last time it was called. It assumes an appropriate object
called mjsmtp exists, which is the SMTP component itself :-
AnsiString mjemsend(AnsiString lk1,AnsiString lk2,AnsiString lk3,AnsiString
lk4,
AnsiString lk5,AnsiString lk6,AnsiString lk7,AnsiString
lk8)
{
static AnsiString olk3="$",olk4="$";
AnsiString rv="EMail Sent OK",er="**ERROR** MJSendMail: ";
int ii,ctr=100,ctr2=400,gran=70,tsiz=lk6.Length();
if (!mjsmtp) return er+"No Email Component";
mjsmtp->RcptName->Text=mjrepall(lk1,";","\r\n",true); mjsmtp->HdrFrom=lk2;
mjsmtp->HdrTo=lk1;
mjsmtp->HdrSubject=lk5; mjsmtp->MailMessage->Text=lk6; mjsmtp->SignOn=lk4;
mjsmtp->FromName=lk2;
mjsmtp->EmailFiles->Text=lk7; mjsmtp->Host=lk3;
for (ii=0;ii<mjsmtp->EmailFiles->Count;++ii)
tsiz+=mjflsize(mjsmtp->EmailFiles->Strings[ii]);
ii=0; ctr2=max(ctr2,tsiz/10/gran);
try
{
if (olk3!=lk3 || olk4!=lk4 || !mjsmtp->Connected)
{
if (mjsmtp->Connected)
{
mjsmtp->Quit(); ii=0;
while (mjsmtp->State!=smtpReady && mjsmtp->State!=smtpAbort &&
ii<ctr) { mjdelay(gran); ++ii;}
}
mjsmtp->Open(); ii=0; olk3=lk3; olk4=lk4;
while (mjsmtp->State!=smtpReady && mjsmtp->State!=smtpAbort && ii<ctr)
{ mjdelay(gran); ++ii;}
}
if (mjsmtp->State==smtpAbort || ii>=ctr) rv=er+"Open Aborted";
else
{
mjsmtp->Mail(); ii=0;
while (mjsmtp->State!=smtpReady && mjsmtp->State!=smtpAbort &&
ii<ctr2) { mjdelay(gran); ++ii;}
if (mjsmtp->State==smtpAbort || ii>=ctr2) rv=er+"Mail Aborted";
}
}
catch (Exception &excp) { rv=er+excp.Message;}
ii=atoi(lk8.c_str()); if (ii>0) mjdelay(ii);
return rv+" "+Now().DateTimeString();
}
It also sets timeouts dependent on email size. It is short and sweet, and
I'm not sure Indy could do it like this. There are no event handlers
required here. Can Indy do that?
--
Mark Jacobs
jacobsm.com
 

Re:How to Install ICS into BDS2006

Mark Jacobs wrote:
Quote
Leo Siefert wrote:
>Can you tell me why you want to use ICS instead of Indy? I'm only
>really interested in technical info, so if it's for personal or
>political reasons I don't need the details.
>
>Do they provide capabilities not supported by Indy? Do they work
>better than Indy in some way? If so, any details would be
>appreciated.
>
ICS is in general smaller than Indy and well supported on all delphi and
BCB versions prior to BDS 2006. I was using it for a one project that
included intercomputer communication and was quite satisfied. The main
difference is that ICS uses non-blocking sockets while Indy uses common
sockets.
If I had to choose again I would choose ICS.