Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
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 ?

hello

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


ReaLiSyS
Reply With Quote
  #2  
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.

Bye,
Andy

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

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.