[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)
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): //--

[DUG] For all you database geeks

2010-01-25 Thread Gary T. Benner
HI all, For those who remember where Interbase ( and Firebird ) came from ... a preview of a talk about the future of database (well his anyway) by Jim Starkey - with a photo to boot of the Wolf ( a first to my memory). http://ewh.ieee.org/r1/boston/computer/starkeytalk.html kr Gary Ref#:

[DUG] MSBuild thingy

2010-01-25 Thread Jeremy Coulter
Hi all. I have been trying to find some good sites on how to use the MSBuild stuff in delphi 2007. I really only want to do a commandline compile, however I do want to run a couple of things afterwards. I know about FinalBuild but its a bit OTT for what I want. Anyone help? Thanks, Jeremy

Re: [DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
Tried that already. Just Using Forms and not even using any function increases the size by 5 times. Ross. From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Tuesday, 26 January 2010 9:55 a.m. To: NZ Borland Developers Group - Delphi List

Re: [DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
Using D7, mine grows from 100k to around 500k. The size is important for loading speed and also the final installer package size. Since my software is download only, I always try to keep the download size as small as possible. Ross. From: delphi-boun...@delphi.org.nz

Re: [DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
Initial results are looking good, thanks Xander! Initially I had to Use the Controls and Messages units, which bloated the exe again. But went through and found the required constants. I'll post these here in case it is useful for someone in the future reading the archives. const

Re: [DUG] manually process Windows messages

2010-01-25 Thread Jolyon Smith
As I thought. I would say that even in NZ with it's much maligned internet infrastructure, I think your concern is unwarranted and the hoops you may have to jump thru possibly not worth the effort. Whilst it's possible to do what you need without using Forms, you may find over time that this

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'

Re: [DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
You may be right, but I got Xander's code working and I'm happy. Cheers. From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Jolyon Smith Sent: Tuesday, 26 January 2010 1:58 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] manually

Re: [DUG] manually process Windows messages

2010-01-25 Thread Ross Levis
Don't seem to need that. Perhaps because there are no windows. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Edward Koryagin Sent: Tuesday, 26 January 2010 2:08 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: