[DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
My registry app I mentioned a few days ago is non-visual with no forms, and Forms is not included in the Uses clause. In attempting to use a TCP socket system I've discovered that I need to arrange for Windows messages to be processed otherwise the TCP buffers never get any data. I don't want

Re: [DUG] manually process Windows messages

2010-01-25 Thread John Bird
I would expect if you specify Forms (to get Application.ProcessMessages) and only call that and nothing else from Forms then you will only get what functions are needed linked into your application - I suggest you try it and see how much bigger it makes the application. John I've looked at

Re: [DUG] manually process Windows messages

2010-01-25 Thread Xander (GMail)
_ From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Jolyon Smith Sent: Tuesday, January 26, 2010 10:24 AM To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] manually process Windows messages I wouldn't expect that at all. I forget the details

Re: [DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
Subject: Re: [DUG] manually process Windows messages I would expect if you specify Forms (to get Application.ProcessMessages) and only call that and nothing else from Forms then you will only get what functions are needed linked into your application - I suggest you try it and see how much

Re: [DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
...@delphi.org.nz] On Behalf Of Jolyon Smith Sent: Tuesday, 26 January 2010 10:24 a.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] manually process Windows messages I wouldn't expect that at all. I forget the details of why, but using the Forms unit unavoidably drags

Re: [DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
Developers Group - Delphi List' Subject: Re: [DUG] manually process Windows messages Here is an extract from a class from a very old piece of code I have. I vaguely remember researching the same topic at the time. See whether this will work for you (just call the ProcessMessages() method

Re: [DUG] manually process Windows messages

2010-01-25 Thread Jolyon Smith
to be negligible). From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Ross Levis Sent: Tuesday, 26 January 2010 1:18 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] manually process Windows messages Using D7, mine grows from 100k

Re: [DUG] manually process Windows messages

2010-01-25 Thread Edward Koryagin
WindowProc ? Just don't forget save it and restore back. Edward Koryagin --- On Tue, 26/1/10, Xander (GMail) xander...@gmail.com wrote: From: Xander (GMail) xander...@gmail.com Subject: Re: [DUG] manually process Windows messages To: 'NZ Borland Developers Group - Delphi List' delphi

Re: [DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
that addition is likely to be negligible). From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Ross Levis Sent: Tuesday, 26 January 2010 1:18 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] manually process Windows messages Using

Re: [DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
: [DUG] manually process Windows messages WindowProc ? Just don't forget save it and restore back. Edward Koryagin --- On Tue, 26/1/10, Xander (GMail) xander...@gmail.com wrote: From: Xander (GMail) xander...@gmail.com Subject: Re: [DUG] manually process Windows messages To: 'NZ Borland