Re: Limiting to one instance
"Mat Noguchi (BUNGIE)" <[email protected]> Mon, 14 Aug 2006 23:39:31 -0700
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <1B678752C03CB44AAA5D9C90991EFEEC086C65C0@RED-MSG-42.redmond.corp.microsoft.com> |
You'll need a way to synchronize multiple instances of an app; you can either use shared memory or a mutex. MSN ________________________________ From: [email protected] on behalf of Research Sent: Mon 8/14/2006 11:14 PM To: [email protected] Subject: [GD-Windows] Limiting to one instance 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 ------------------------------------------------------------------------- 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