Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Mon, 20 Aug 2007 08:41:48 -0500,    group: microsoft.public.platformsdk.win_base_svcs        back       


Re: Mutex Problem   
"???" <@discussions.microsoft.com> wrote in message 
news:6FE778C6-1F36-4993-881F-9E713F8B59D0@microsoft.com...
> Hi Kalle,
>
> Thanks for your answer.
>
> Instead, calling CloseHandle() before leaving solved the problem, though I
> really can't fully understand that.

You still need to check for WAIT_ABANDONED, in case the other app was 
forcibly closed (TerminateProcess) while holding the mutex.

>
> Sincerely,
> Ofer.
>
date: Mon, 20 Aug 2007 08:41:48 -0500   author:   Ben Voigt [C++ MVP] am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us