Intercept WM_QUERYENDSESSION to ensure proper mls shutdown

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

Intercept WM_QUERYENDSESSION to ensure proper mls shutdown

Postby jwizardc » Mon Dec 30, 2013 1:44 pm

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: 20749
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: Intercept WM_QUERYENDSESSION to ensure proper mls shutdo

Postby russellhltn » Mon Dec 30, 2013 1:59 pm

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 Wiki?
Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.


Return to “MLS Support, Help, and Feedback”

Who is online

Users browsing this forum: No registered users and 1 guest