Marc Weustink wrote:
Vincent Snijders wrote:
Micha Nelissen wrote:
On Tue, 30 Aug 2005 11:09:30 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
In windows, it's slightly more difficult (surprise, surprise :-) )
You can use MsgWaitForMultipleObjects to do this
On Tue, 30 Aug 2005, Micha Nelissen wrote:
On Tue, 30 Aug 2005 11:09:30 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Tue, 30 Aug 2005, Micha Nelissen wrote:
What do you mean with Idle handler? TApplication.OnIdle ? In any sane app,
that is only
Micha Nelissen wrote:
On Tue, 30 Aug 2005 11:09:30 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
In windows, it's slightly more difficult (surprise, surprise :-) )
You can use MsgWaitForMultipleObjects to do this for a windows
handle, or use WaitForSingleObject on
On Tue, 30 Aug 2005, Vincent Snijders wrote:
Micha Nelissen wrote:
On Tue, 30 Aug 2005 11:09:30 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
In windows, it's slightly more difficult (surprise, surprise :-) )
You can use MsgWaitForMultipleObjects to do
On Tue, 30 Aug 2005 12:20:40 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
You can wait on any handle: file, pipe, socket.
From msdn:
The WaitForSingleObject function can wait for the following objects:
* Change notification
* Console input
*
On Tue, 30 Aug 2005 11:09:30 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Tue, 30 Aug 2005, Micha Nelissen wrote:
What do you mean with Idle handler? TApplication.OnIdle ? In any sane app,
that is only called once when the user goes idle; after that, the
Vincent Snijders wrote:
And how are you doing that?
In lazarus the following code is used (more or less):
repeat
Windows.PeekNamedPipe(PipeHnd, nil, 0, nil, @TotalBytesAvailable, nil);
if TotalBytesAvailable0 then break;
Application.ProcessMessages
Sleep(10);
until false;
Micha Nelissen wrote:
On Tue, 30 Aug 2005 12:23:06 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
Things you could use this function for: file change notifications,
events, ... all have to be seperately implemented in the FCL/LCL to make
them work universally and
Vincent Snijders wrote:
Marc Weustink wrote:
Vincent Snijders wrote:
Micha Nelissen wrote:
On Tue, 30 Aug 2005 11:09:30 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
In windows, it's slightly more difficult (surprise, surprise :-) )
You can use
On Tue, 30 Aug 2005, Micha Nelissen wrote:
On Tue, 30 Aug 2005 12:20:40 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
You can wait on any handle: file, pipe, socket.
From msdn:
The WaitForSingleObject function can wait for the following objects:
On Tue, 30 Aug 2005, Vincent Snijders wrote:
Michael Van Canneyt wrote:
On Tue, 30 Aug 2005, Vincent Snijders wrote:
Micha Nelissen wrote:
On Tue, 30 Aug 2005 11:09:30 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
In windows, it's slightly more
On Tue, 30 Aug 2005, Micha Nelissen wrote:
On Tue, 30 Aug 2005 12:23:06 +0200 (Romance Daylight Time)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
Things you could use this function for: file change notifications,
events, ... all have to be seperately implemented in the FCL/LCL to make
On Mon, 29 Aug 2005, Micha Nelissen wrote:
On Mon, 29 Aug 2005 16:32:42 +0200 (CEST)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
3. Currently a loop must be implemented with a timer.
(the server app shows how)
Any suggestions on how to integrate it in a message loop
would
On Mon, 29 Aug 2005, Micha Nelissen wrote:
On Mon, 29 Aug 2005 23:22:53 +0200 (CEST)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Mon, 29 Aug 2005, Micha Nelissen wrote:
Do you know the TThread.Synchronize eventloop hooks ? (WakeMainThread and
friends). I think this can be
14 matches
Mail list logo