Re: Limiting to one instance
Jon Watte <[email protected]> Wed, 16 Aug 2006 09:35:04 -0700
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
Alen Ladavac wrote:
> Put simply: unless the manual says "this can be used to do XYZ", then
> if you are using it for that, you are risking possible problems.
> (Although, you are probably risking possible problems even if it does
> say so. :p )
>
I just checked the documentation for CreateMutex() on MSDN, and it
actually discusses the usage for preventing double-launch, in some
detail. It even mentions the possible denial of service by creating the
same mutex in another program. It also suggests a rather cumbersome
work-around.
Cheers,
/ h+
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555