Hi!
I have probably misunderstood something because I get the same behavior
described below no matter which of the components SmtpCli, SyncSmtpCli and
HtmlSmtpCli I use.
The problem has to do with freeing the smtp-components parent form. You can
easily duplicate the behavior with one of the sta
Hello Henrik,
Just tested with latest V5 beta, but works great?
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Henrik wrote:
> Hi!
>
> I have probably misunderstood something because I get the same
> behavior described below no matter which of the components SmtpC
- Original Message -
From: "Henrik" <[EMAIL PROTECTED]>
To:
Sent: Monday, December 11, 2006 9:59 AM
Subject: [twsocket] Freeze when using smtp after recreating its parent form
> Hi!
>
> I have probably misunderstood something because I get the same behavior
> described below no matter
> I normally just call .free never used .released.
You have to use Release when called from an event handler which originate
from the form you are freeing. Release make sure all curent events are
processed. Free does an immediate free which will crash the application if
one event handler is still
>> I normally just call .free never used .released.
>
> You have to use Release when called from an event handler which originate
> from the form you are freeing. Release make sure all curent events are
> processed. Free does an immediate free which will crash the application if
> one event handl
Hi Frans!
Yes, each time You press the button the form is created and then released.
You also get the same problem if You set Action to caFree in the OnClose of
the created form.
procedure TForm2.Button1Click(Sender: TObject);
begin
SmtpTestForm := TSmtpTestForm.Create(Application);
Hi Arno and thank You for the reply!
I use V2.32 of SmtpProt.pas (the one You get when clicking "Download the
latest ICS-V5 Distribution" on overbyte.be) and Delphi7.
Trying to solve this mystery I have now discovered two things:
* Since You did not experience any problem I decided to test the ex
<>
Sorry, for not expressing myself any better.
My question was "If you run the debug and while entring the buttonclick is
the .release finished so did you find the form to be free-ed already" and
my second remark was "If you replace the .release with .free is the problem
still there?".
My f
Hello !
Your components are really great. But i've faced with some problems out
here. I'm trying to make multithreaded FTP list checker. I'm not going to
talk a lot, i'll just post code of creating TFTPCli component and using it.
Here it is (it is very simple):
"
// [FTP Component initializ
Henrik,
Hmm, your 'workaround' doesn't sound logical, why should a
secondary instance of a _V5_ component have any effects,
strange?
Do you close the SMTP-form while mail is been sent?
Is the SMTP-form yet destroyed when you create another one?
When does it freeze exactely (try the buttons on the
Hello Aleksey,
>> system call (#10004)" I'm totally sure that this is bug of
>> TFTPClient when you trying to use threads,
I'm totally sure that this is because you do not use the
component correctly.
Tell us why you want to use threads, ICS can handle hundreds
of concurrent connections easily, ea
Hello again Arno!
> Hmm, your 'workaround' doesn't sound logical, why
> should a secondary instance of a _V5_ component
> have any effects, strange?
No I know, it isn't logical but since I want to free my forms it is the only
way I so far have been able to solve it...
> Do you close the SMTP-fo
Hi again Frans!
> Sorry, for not expressing myself any better.
No need for excuse, it was probably I who misunderstood You...
> My question was "If you run the debug and while
> entring the buttonclick is the .release finished
> so did you find the form to be free-ed already"
Yes, I think so
Hi,
Procedure Variable is a variable that has scope only for a given procedure.
Example:
procedure MyForm.ButtonSendMailClick(Sender : TObject);
var
MySendMailForm : TMySendMailForm; <-- Procedure Variable, for its
only accessible inside this procedure (ButtonSendMailClick)...
begin
Hello Arno,
>I'm totally sure that this is because you do not use the
>component correctly.
>Tell us why you want to use threads, ICS can handle hundreds
>of concurrent connections easily, each transferring data at
>the same time, since it uses non-blocking sockets.
1)I've posted so
Aleksey,
> 1)I've posted some code in my message, what is there wrong there ?
That snippet just assigns some properties so doesn't tell me anything.
> 2) I used threads because i even didn't know that TFTPCli can handle
> concurrent connections. Sure i would try this method, but can you
> give
> 2) I used threads because i even didn't know that TFTPCli can handle
> concurrent connections. Sure i would try this method, but can you give me
> some advices how to use this feature ? Or even maybe some samples ?
Have a look at FtpAsy sample program (In ICS-V5 but also good for V6
provided yo
17 matches
Mail list logo