Already running - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Already running

JamesJames Posts: 217Member
How can I tell if my application is already running when it first loads?

James

Comments

  • weiccoweicco Posts: 950Member
    : How can I tell if my application is already running when it first loads?
    :
    : James
    :

    Use FindWindow with approriate window name and/or class-name. If window is found, you know that your application is already running.

    Another way would be to create named mutex.
  • JamesJames Posts: 217Member
    : : How can I tell if my application is already running when it first loads?
    : :
    : : James
    : :
    :
    : Use FindWindow with approriate window name and/or class-name. If window is found, you know that your application is already running.
    :
    : Another way would be to create named mutex.
    :

    Thanks!

    James
Sign In or Register to comment.