How to catch Windows Shutdown in Smalltalk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to catch Windows Shutdown in Smalltalk

Gaurav Sharma
Hi,
I have a desktop application in Smalltalk. I want to catch the Windows
Shutdown event or when the user does "End Process" in "Task manager"
and update a file.
Does anyone has an idea where I can place the code? My solution does
not work properly...
Thnaks

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.

Reply | Threaded
Open this post in threaded view
|

Re: How to catch Windows Shutdown in Smalltalk

Gaurav Sharma
 
Hi, I had earlier kept my code in System exit method. But in that case sometimes the code was getting executed some times it was.
For example when I did a logoff/shutdown the code gets execution is  sporadic.
 
What could I be probably missing?

On Tuesday, November 27, 2012 7:14:23 PM UTC+5:30, Gaurav Sharma wrote:
Hi,
I have a desktop application in Smalltalk. I want to catch the Windows
Shutdown event or when the user does "End Process" in "Task manager"
and update a file.
Does anyone has an idea where I can place the code? My solution does
not work properly...
Thnaks

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/fqRbEFtdEswJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.