[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: SessionEvents in Windows

  • Thread starter Thread starter Matt Gilarde
  • Start date Start date
Status
Not open for further replies.
M

Matt Gilarde

Guest
Do you have a WAIT-FOR? Without a WAIT-FOR the message pump won't run. You may need to follow another note in the documentation, which talks about services but would also apply to an OpenEdge client which doesn't display a UI. The example it refers to starts the message pump with Application.Run(). In an AVM that would be done with WAIT-FOR Application:Run().
In a Windows service, unless a hidden form is used or the message pump has been started manually, this event will not be raised. For a code example that shows how to handle system events by using a hidden form in a Windows service, see the SystemEvents class.

Continue reading...
 
Status
Not open for further replies.
Back
Top