Re: [twsocket] Create an ICS assembly .NET

2006-07-24 Thread Francois PIETTE
> I've tried what you said by adding {$DEFINE NOFORMS} You must include it at the project options level so that all files compile with this symbol. > For ICS_COMPONENT, my project doesn't define it Look at the project options. It is OK if it is not included since it is exactly what is needed.

Re: [twsocket] Create an ICS assembly .NET

2006-07-24 Thread Arnold FLUTEAUX
Hi and thanks for your response. But I’ve always my problem. I’ve tried what you said by adding {$DEFINE NOFORMS}, I’ve suppressed Borland.vcl.dll and Borland.vclrtl.dll but the Delphi dll project doesn’t compile. I must add Borland.vcl. I’ve this error “L'unité borland.vcl.types est implicitemen

Re: [twsocket] Create an ICS assembly .NET

2006-07-24 Thread Francois Piette
Recompile after having defined symbol NOFORMS and undefined ICS_COMPONENT. This will avoid making TWSocket dependent on the forms unit and make TWSocket derived from simple TObject (System.object). This would probably suppress dependency on Borland.vcl.dll and Borland.vclrtl.dll. I'm no sure... Co

[twsocket] Create an ICS assembly .NET

2006-07-24 Thread Arnold FLUTEAUX
Hi, I've created an assembly (SCJCOM.dll) with Delphi 2005 which contains several ICS .pas to do a Client FTP and It needs some Borland files and the deployment becomes too big (SCJCOM.dll + 3 Borland files = more than 3 Mo) So to resume, SCJCOM.dll (140 ko ) in Delphi 2005 contains: -

Re: [twsocket] Fw: Bug in OverbyteIcsSmtpProt v6

2006-07-24 Thread Arno Garrels
Francois PIETTE wrote: > There is a memory leak in the function "PrepareEmail" in the file > "OverbyteIcsSmtpProt.pas", at line 3376: > > if FMailMessage.GetText^ <> #0 then > > this function allocate some meory which must be freed using > StrDispose. This > is not done in the function. Cor