冰楓論壇

標題: vb6新楓之谷偵測問題 [打印本頁]

作者: 8955073    時間: 2013-5-4 13:39
標題: vb6新楓之谷偵測問題
  1. Private Sub Command1_Click()
  2. If FindGame("MapleStory.exe") = True Then
  3. Call InitAutoAsm(dwProcId)
  4. GetWindowThreadProcessId hwd, pid
  5. hProcess = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
  6. If hProcess <> 0 Then
  7.         MsgBox "偵測成功", , "系統訊息"

  8. Else
  9.         MsgBox "偵測失敗", , "系統訊息"
  10. End If
  11. End Sub
複製代碼
他說 有If 卻沒有End If
作者: p3939840047    時間: 2013-6-1 07:51
要兩個 If FindGame("MapleStory.exe") = True Then(第一個 IF)
If hProcess <> 0 Then (第二個IF)
所以你後面要打 END IF
END IF
(2次)
作者: bvb020488995    時間: 2013-7-15 08:57
提示: 作者被禁止或刪除 內容自動屏蔽
作者: 牛耿蛋    時間: 2014-11-28 19:35
p3939840047 發表於 2013-6-1 07:51 [url=forum.php?mod=redirect&goto=findpost&pid=163419&ptid=16186][/url]
要兩個 If FindGame("MapleStory.exe") = True Then(第一個 IF)
If hProcess  0 Then (第二個IF)
所以你後 ...

他會說沒有定義sUB




歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓