Limiting to one instance

"Research" <[email protected]> Tue, 15 Aug 2006 14:14:15 +0800
Newsgroups gmane.games.devel.windows
Message-ID <038601c6c032$0a0bef90$4001a8c0@pcbrettwork>
Is the preferred method of not allowing multiple instances of a game to run 
at the same to use named mutexes via CreateMutex and test for it's 
exeistence on startup?

I found an example on MSDN, but it seems targeted at .NET applications. I'm 
not sure if there's an easier way to prevent mutliple launches for a Win32 
app.

Thanks,
Brett Bibby
GameBrains 


-------------------------------------------------------------------------
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