Mein Game Guard Fragen Thema ^^

  • Heyho Programmierer,
    ich bin dabei einen Game Guard für ein Spiel zu schreiben(Mehr als Spaß als 100%igen Schutz), nun habe ich ein Problem !
    Wie kann ich gucken ob ein Process 2 Mal Existiert ?


    If ProcessExists ("Notepad.exe") >= 2 Then
    MsgBox (0,"2mal","2mal")
    EndIf

    Das hier sagt nämlich 2mal obwohl es nur 1 mal Läuft...
    Und spontan fällt mir keine Lösung ein...
    lg