8955073 發表於 2013-5-4 13:39:43

vb6新楓之谷偵測問題

Private Sub Command1_Click()
If FindGame("MapleStory.exe") = True Then
Call InitAutoAsm(dwProcId)
GetWindowThreadProcessId hwd, pid
hProcess = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If hProcess <> 0 Then
        MsgBox "偵測成功", , "系統訊息"

Else
        MsgBox "偵測失敗", , "系統訊息"
End If
End Sub
他說 有If 卻沒有End If

p3939840047 發表於 2013-6-1 07:51:53

要兩個 If FindGame("MapleStory.exe") = True Then(第一個 IF)
If hProcess <> 0 Then (第二個IF)
所以你後面要打 END IF
END IF
(2次)

bvb020488995 發表於 2013-7-15 08:57:22

牛耿蛋 發表於 2014-11-28 19:35:48

p3939840047 發表於 2013-6-1 07:51
要兩個 If FindGame("MapleStory.exe") = True Then(第一個 IF)
If hProcess  0 Then (第二個IF)
所以你後 ...

他會說沒有定義sUB
頁: [1]
查看完整版本: vb6新楓之谷偵測問題