and 5 lines of code, possibly 6 to get a process list. add a loop. omg, that's 
an extra 9 lines! :)


Thanks,
Tyler Littlefield
Web: tysdomain.com
email: [email protected]
My programs don't have bugs, they're called randomly added features.

  ----- Original Message ----- 
  From: Brett McCoy 
  To: [email protected] 
  Sent: Wednesday, March 18, 2009 4:23 PM
  Subject: Re: [c-prog] How to load only one instance in Windows startup?


  On Wed, Mar 18, 2009 at 5:59 PM, Tyler Littlefield <[email protected]> 
wrote:

  > why would you need a mutex? just check through the process list.

  Lot simpler and more efficient. It's like 5 lines of code to check a mutex.

  -- Brett
  ----------------------------------------------------------
  "In the rhythm of music a secret is hidden;
  If I were to divulge it, it would overturn the world."
  -- Jelaleddin Rumi


  

[Non-text portions of this message have been removed]

Reply via email to