Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Old 08-01-2002, 08:25 PM
realisys realisys is offline
Junior Member
Join Date: Feb 2002
Posts: 13
Default "application.processmessages" equivalent for console application ?


is there an equivalent to "Application.ProcessMessages" for a console
application ?

Reply With Quote
Old 08-01-2002, 11:59 PM
andyho andyho is offline
Senior Member
Join Date: Jul 2001
Posts: 1,446
Default RE: "application.processmessages" equivalent for console application ?

You can do the PeekMessage() API call same as what the processmessages does internally. However that'd be only necessary if you have anything in your application which needs to receive messages - windows you created without the VCL equivalent, asynchronous tcpip sockets, or such. So you better tell why you think a processmessage would be necessary in your software - I personally use the processmessage only in emergencies as it can have too many side-effects.


If it helped please click accept...
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 11:08 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.