Intercept WM_QUERYENDSESSION to ensure proper mls shutdown

Discussions around using and interfacing with the Church MLS program.
Post Reply
jwizardc
New Member
Posts: 8
Joined: Sat Jan 12, 2013 9:21 pm

Intercept WM_QUERYENDSESSION to ensure proper mls shutdown

#1

Post by jwizardc »

Hi!

We have a Ward in our Stake that constantly crashes their MLS. Most of their members are not computer savvy and I am reasonably certain that they are shutting down windows without closing MLS.

If MLS were to intercept WM_QUERYENDSESSION as described Here it would be able to gracefully shut down before allowing windows to terminate it (with Extreme Prejudice).

Yes, I know the method described is C#, but I'm sure Java has a similar hook.

Thanks!
russellhltn
Community Administrator
Posts: 31285
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: Intercept WM_QUERYENDSESSION to ensure proper mls shutdo

#2

Post by russellhltn »

jwizardc wrote:I am reasonably certain that they are shutting down windows without closing MLS.
I had a ward with a similar problem. I ended up posting shutdown instructions on the edge of the monitor. The problems stopped. I suspect they were turning off the power bar before Windows completed the shutdown.
Have you searched the Help Center? Try doing a Google search and adding "site:churchofjesuschrist.org/help" to the search criteria.

So we can better help you, please edit your Profile to include your general location.
Post Reply

Return to “MLS Support, Help, and Feedback”