On Wed, Mar 18, 2009 at 10:22 PM, Cristiano <[email protected]> wrote:
> How to be loaded only a single instance of my program in memory when Windows
> starts?

You need to use a named mutex. It's been quite a while since I've done
this, but the idea is that you create a named mutex, and check if it
already exists. If so, there is already a running instance of your
program, and you exit the current instance.
Do a little googling on "named mutex" for win32, you'll probably find
something helpful.
HTH

-- 
Tamas Marki

Reply via email to