本人自学的VB.刚刚入门,请大侠们给点指导.先谢了
Do While ok = yesok
For i = 0 To 30000
ret = ReadProcessMemory(pHandle, star, memstr(i), 1, 0&)
star = star + 1
Next i
For i = 0 To 30000 - 3
If memstr(i) = &HA And memstr(i + 1) = &HB And memstr(i + 2) = &HC And memstr(i+3)=&HD Then
ok = star - 30001 + i
yesok = 1
Exit Do
Exit For
End If
Next i