May not be relevant but have you seen this 
http://support.microsoft.com/kb/2682659 - even if it is not relevant it 
provides an alternative to GetMessage using PeekMessage that might be worth a 
go.

-----Original Message-----
From: Bruce Cran [mailto:br...@cran.org.uk] 
Sent: 26 March 2013 11:07
To: Windows Installer XML toolset developer mailing list
Subject: Re: [WiX-devs] WixStdBA: fix for missing WM_QUIT message on Server 2008

On 25/03/2013 19:13, Rob Mensching wrote:
> When debugging are the threads the same for ::PostQuitMessage() and 
> ::GetMessage()?

At the moment PostQuitMessage is called, there are 3 threads.

1. Main Thread
  Calling WriteFile in LogStringWorkRaw:

_NtWriteFile
_WriteFile
LogStringWorkRaw
LogStringWork
LogIdWork
LogIdModuleArgs
LogId
CoreAply
ProcessMessage
RunApplicaton
RunNormal
EngineRun
wWinMain

2. ThreadProc:

_NtUserGetMessage
_GetMessageW
ThreadProc


3. WndProc:

CWixStandardBootstrapperApplication::WndProc

After running PostQuitMessage, all 3 threads are calling GetMessage, with the 
third thread in CWixStandardBootstrapper::UiThreadProc.

--
Bruce Cran

------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in 
Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game on Steam. $5K 
grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to