Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Problem with WM_QUERYENDSESSION on NT receiving

Posted on 1997-04-02
1
Medium Priority
?
385 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
bhoward earned 300 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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 course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

597 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