Re: [GD-Windows] Limiting to one instance
Brought to you by:
vexxed72
From: Mat N. \(BUNGIE\) <Mat...@mi...> - 2006-08-15 06:39:38
|
You'll need a way to synchronize multiple instances of an app; you can = either use shared memory or a mutex. =20 MSN ________________________________ From: gam...@li... on behalf of = Research Sent: Mon 8/14/2006 11:14 PM To: Gam...@li... 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=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 |