Icon View Incident Report

Minor Minor
Reported By: Lance Rasmussen
Reported On: 4/17/2008
For: Version 1.09 Build 2
# 2605 Windows Requires Two Shutdown Requests When ElevateDB Server is Running as an Application

When running the EDB Server as an application, I have to call Windows shut down or restart twice to get windows to shut down / restart. Alternatively, I can shut down the server, then shut down / restart Windows.

The problem is the WMQueryEndSession is being called AFTER the FormCloseQuery. So the closing of windows is setting to true after the fact. So the second time around on shut down, the value is true, so now it will shut down.

I resolved the issue by changing :

procedure WMQueryEndSession(var Msg: TMessage); message WM_EndSession;

To this

procedure WMQueryEndSession(var Msg: TMessage); message WM_QueryEndSession;

in the edbsrvr.dpr project's main.pas unit source code.


Comments Comments
Many thanks to Lance for digging out the answer to this one.


Resolution Resolution
Fixed Problem on 4/18/2008 in version 1.09 build 3


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image