> I don't call processmessages and the like directly in the event but
> might output some lines on screen for debugging. Could the VCL maybe
> call getmessage etc. behind my back in this scenario?
You can safely add a line to a memo. You can't display a dialog box or a
modal form.
You can detect r
Markus Humm wrote:
> I don't call processmessages and the like directly in the event but
> might output some lines on screen for debugging.
How? ShowMessage is a modal form.
>
> Other thing: what about critical sections. Would they be safe for
> preventing this in my situation?
No, critical
> Can OnDataAvailable be called while it is
> > already running?
> > And if yes, how to prevent this? Is using critical
> > sections a good idea here?
> You must avoid having the events reentered. To avoid this, you simply
> have
> to _not_ call any form of the message pump from the events. The
>
>> Do you mean it could be smaller than his previous size
>> when resuming a transfert ?
>
> Yes, that's what I mean and the question :))
If a resumed transfer is smaller than the existing file, then there is a
problem ! It is likely that the start of the local file is no more the same
as the co
Francois,
Thanks. I'll take a look.
...Andy
Francois PIETTE wrote:
>> The Delphi and Delphi-Talk elists seem rather quiet.
>
> Delphi mailing list is still a very good place. A lot of users are still
> subscribers and wake up when needed.
> Forget about Delphi-Talk which is unmoderated.
>
>> W
Francois PIETTE wrote:
>> I reworked the streams stuff in both FTP C/S today and
>> fixed some bugs, everything was tested sucessfully with
>> 64-bit streams. There's only one question I cannot answer
>> by myself.
>> TFileStream in mode fmOpenWrite does not set its size
>> to current position when
> The Delphi and Delphi-Talk elists seem rather quiet.
Delphi mailing list is still a very good place. A lot of users are still
subscribers and wake up when needed.
Forget about Delphi-Talk which is unmoderated.
> Where is the best place to ask general Delphi questions - along the
> lines of who
Hi,
The Delphi and Delphi-Talk elists seem rather quiet.
Where is the best place to ask general Delphi questions - along the
lines of who has used a good SVG component etc?
Regards,
Andy
--
ASA Micros Ltd.
141 Wardle Road,
Wardle,
Rochdale.
OL12 9JA
UK
Tel: +44(0)1706 355057
Company No. 4722
> I reworked the streams stuff in both FTP C/S today and
> fixed some bugs, everything was tested sucessfully with
> 64-bit streams. There's only one question I cannot answer
> by myself.
> TFileStream in mode fmOpenWrite does not set its size
> to current position when it is destroyed. Won't it ma
> Can OnDataAvailable be called while it is
> already running?
> And if yes, how to prevent this? Is using critical
> sections a good idea here?
You must avoid having the events reentered. To avoid this, you simply have
to _not_ call any form of the message pump from the events. The message pump
Yes, I believe you can safely set the Size property manually as a
workaround. That's what I do!
Regards,
Sz
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Thursday, August 31, 2006 9:37 PM
Subject: Re: [twsocket] FTP resuming transfers
Fastream Technologies wrote:
> AFAIK, ICS v6 is only for D/BCB6+ and ICSv5 is going to get
> abondoned. So no need to worry! :))
Have you really read my question??
>
> Best Regards,
>
> SZ
>
> - Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
AFAIK, ICS v6 is only for D/BCB6+ and ICSv5 is going to get abondoned. So no
need to worry! :))
Best Regards,
SZ
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Thursday, August 31, 2006 9:27 PM
Subject: [twsocket] FTP resuming transfers
Hello,
I reworked the streams stuff in both FTP C/S today and
fixed some bugs, everything was tested sucessfully with
64-bit streams. There's only one question I cannot answer
by myself.
TFileStream in mode fmOpenWrite does not set its size
to current position when it is destroyed. Won't it make
Hello,
I've a server and a client app. which communicate through a TCP based
protocoll I designed.
The server get's requests which in OnDataAvailable are received into a
1500 Byte sized array (most time the app. will run on a LAN) whose
contents is copied into a larger buffer then since the reque
lalin ha scritto:
> Hello,
> I use SMTPClient for sending a email since a server with default smtp
> server of IIS. The example program find this smtp server. But in my program,
> with this code:
> Smtp1.Host := smtpserver;
> Smtp1.port := 'smpt';
> Smtp1.FromName := name;
>
Hi Carlos,
Is the "Smtp1.port := 'smpt';" an error in your code or a typo?
It should be "Smtp1.port := 'smtp';"
Regards,
Bevan
lalin wrote:
> Hello,
> I use SMTPClient for sending a email since a server with default smtp
> server of IIS. The example program find this smtp server. But
Hello,
I use SMTPClient for sending a email since a server with default smtp
server of IIS. The example program find this smtp server. But in my program,
with this code:
Smtp1.Host := smtpserver;
Smtp1.port := 'smpt';
Smtp1.FromName := name;
Smtp1.HdrFrom := mail1;
S
18 matches
Mail list logo