Jump to content

Recommended Posts

Posted

I tried to help user to choose proccess before run the program. When I run the button, the program seems like freeze :idea:

Please help!

$TheList = GUICtrlCreateCombo("", 150, 160, 70)
$ListPro = ProcessList("game.exe")
$TheAOL = ""
$ProccessID = ""

If $ListPro[0][0] > 0 Then
    For $i = 1 to $ListPro[0][0] + 1
        If $i = $ListPro[0][0] + 1 Then
            ExitLoop
        Else
            $TheAOL &= $ListPro[$i][1] & "|"
            $i = $i + 1
        EndIf
    Next
    GUICtrlSetData($TheList, $ListPro, '')
    $ProccessID = GUICtrlRead(-1)
    Else
        MsgBox(0, "Warning!", "The Game is not Workin!!!")
EndIf

$GameID = _MemoryOpen($ProccessID)

If I use this, it work but for all the windows of game.exe:

$ProccessID = ProcessExists("game.exe")
$GameID = _MemoryOpen($ProccessID)
Posted

Thanks for reply. I just think not show the game name is ok.

I'm new here, sorry about that and I'll try other way!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...