Solved

Problem with WM_QUERYENDSESSION on NT receiving

Posted on 1997-04-02
1
380 Views
Last Modified: 2013-12-03
At first i am sorry for my english. I run my 16 bit app on Win NT. This app runs some other 16 bit apps as child processes. When i try exit Win NT the main app processes WM_QUERYENDSESSION message and stops Win NT exit.  Child processes don't receive WM_QUERYENDSESSION message, but Win NT informs me the app is not responding. How can i shake off this problem. I have not this problem on Win 95 or  Win 3.1.
0
Comment
Question by:Semenishev
1 Comment
 
LVL 1

Accepted Solution

by:
bhoward earned 100 total points
ID: 1334336
You might also need to process the WM_ENDSESSION message.  It is sent to all applications that halted the shut-down process to tell them whether the session was actually closing or not.  There are conditions where an apps denial of the WM_QUERYENDSESSION will not be able to stop the shutdown.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question