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 要兩個 If FindGame("MapleStory.exe") = True Then(第一個 IF)
If hProcess <> 0 Then (第二個IF)
所以你後面要打 END IF
END IF
(2次) p3939840047 發表於 2013-6-1 07:51
要兩個 If FindGame("MapleStory.exe") = True Then(第一個 IF)
If hProcess 0 Then (第二個IF)
所以你後 ...
他會說沒有定義sUB
頁:
[1]