[GD-Windows] Limiting to one instance
Brought to you by:
vexxed72
From: Research <res...@ga...> - 2006-08-15 06:17:18
|
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 |