remove it from current user.

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

  ----- Original Message ----- 
  From: Cristiano 
  To: [email protected] 
  Sent: Wednesday, March 18, 2009 3:22 PM
  Subject: [c-prog] How to load only one instance in Windows startup?



  Hi,

  I am writing a code in C. My program writes in the Windows registry so that 
it can be run when the computer starts:

  HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Run
  and
  HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run

  The problem is that when restart my computer, appears in the list of cases 
two instances of my program.

  I tried to make it write only in one of the above records, but he does not 
run. Windows only runs when you start it if it is written in two rows above.

  How to be loaded only a single instance of my program in memory when Windows 
starts?

  Thank you.

  Cristiano



  

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

Reply via email to