The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Mutex Problem





One for Tom, I suspect...

I start a V3 hub (thanks for sending me your version, Tom).
I then start my app, but when I attempt to get a handle to the hub
mutex with:

HANDLE hMutex = CreateMutex( NULL, FALSE, "xPLHub" );

it returns NULL.  GetLastError() gives an errorcode 5 (access
denied).

What I expected to happen was that I would get a handle to the
mutex, which would then be signalled when the first hub exits.  Are
you being all sophisticated and setting the Security Attributes or
something?

Mal











xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.