Board index » cppbuilder » How to Install ICS into BDS2006
Mark Jacobs
![]() CBuilder Developer |
Mark Jacobs
![]() CBuilder Developer |
How to Install ICS into BDS20062006-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, |
Michel Leunen
![]() CBuilder Developer |
2006-06-02 02:50:12 AM
Re:How to Install ICS into BDS2006
Mark Jacobs wrote:
QuoteI have the demo version of BDS2006 and I want to install the latest ICS 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/ ---------------------------------------- |
Michel Leunen
![]() CBuilder Developer |
2006-06-02 02:52:25 AM
Re:How to Install ICS into BDS2006
Michel Leunen wrote:
Quoteor something like stated in the readme file. -- ---------------------------------------- Michel Leunen mailto: see my homepage. C++Builder, BCC5.5.1 Web site: www.leunen.com/ ---------------------------------------- {smallsort} |
Mark Jacobs
![]() CBuilder Developer |
2006-06-02 03:43:34 AM
Re:How to Install ICS into BDS2006
Michel Leunen wrote:
QuoteWhich version of ICS are you trying to install. Mine is the V5. You -- Mark Jacobs jacobsm.com |
Leo Siefert
![]() CBuilder Developer |
2006-06-02 09:15:24 PM
Re:How to Install ICS into BDS2006
Mark Jacobs wrote:
QuoteI want to install the latest ICS (www.overbyte.be) suite 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 |
Mark Jacobs
![]() CBuilder Developer |
2006-06-03 05:48:19 AM
Re:How to Install ICS into BDS2006
Leo Siefert wrote:
QuoteCan you tell me why you want to use ICS instead of Indy? I'm only 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 |
Darko Miletic
![]() CBuilder Developer |
2006-06-03 10:01:16 AM
Re:How to Install ICS into BDS2006
Mark Jacobs wrote:
QuoteLeo Siefert wrote: 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. |