Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 May : Processmessages without Application???

www.cryer.info
Managed Newsgroup Archive

Processmessages without Application???

Subject:Processmessages without Application???
Posted by:"Bo Berglund" (bo.berglu..@telia.com)
Date:Mon, 21 May 2007 21:27:04

I was building a console application that I expected would come out
"lean and mean" but it turned out to be 450 kbytes...
I had to include a component into the code that has referenced Forms
in its uses clause.
I also know from the past that adding Forms to tyhe uses clause adds
300-400 kbytes to the exe size. So I tried commenting out the Forms
reference.

This revaled for what it was used, basically two items were found and
one I could remove, but I still have the Application.ProcessMessages
call that is used within waiting delay loops in the component.

How can I code for this without having to use Forms???
I am using Delphi7 Pro....

/Bo

Replies:

www.cryer.info
Managed Newsgroup Archive