Damn!
Who can give me the Poke for the HP, i have tryed 2 days and it is not working here. i need an Poke for VB.NET 2005
Im working olso with Tsearch16, that's olso an easy program i have get from Blinko, but i don't know anymore how we do that to get the Poke. en d how i need to write all the values below in the code!
when that is correct, the HP is working again
here is the code i use:
Code:
Public Sub InjectDMA_HP()
* * * *Dim phandle As Integer
* * * *Dim hwnd As Integer
* * * *Dim NewBytes1(11) As Byte
* * * *Dim NewBytes2(5) As Byte
* * * *Dim NewBytes3(5) As Byte
* * * *'Poke 10E00 89 08 89 0D CC 0D 01 00 50 8B CE
* * * *'Poke 10E0B E9 4A BC 49 00
* * * *'Poke 4ACA55 E9 A6 43 B6 FF
* * * *NewBytes1(1) = &H89S '89
* * * *NewBytes1(2) = &H8S '08
* * * *NewBytes1(3) = &H89S '89
* * * *NewBytes1(4) = &HDS '0D
* * * *NewBytes1(5) = &HCCS 'CC
* * * *NewBytes1(6) = &HDS '0d
* * * *NewBytes1(7) = &H1S '01
* * * *NewBytes1(8) = &H0S '00
* * * *NewBytes1(9) = &H50S '50
* * * *NewBytes1(10) = &H8BS '8B
* * * *NewBytes1(11) = &HCES 'CE
* * * *NewBytes2(1) = &HE9S : NewBytes2(2) = &H4AS : NewBytes2(3) = &HBCS : NewBytes2(4) = &H49S : NewBytes2(5) = &H0S
* * * *NewBytes3(1) = &HE9S : NewBytes3(2) = &HA6S : NewBytes3(3) = &H43S : NewBytes3(4) = &HB6S : NewBytes3(5) = &HFFS
* * * * * *
* * * * * *WriteProcessMemoryBuffer(phandle, &H10E00, NewBytes1(1), 11, 0)
* * * * * *WriteProcessMemoryBuffer(phandle, &H10E0B, NewBytes2(1), 5, 0)
* * * * * *WriteProcessMemoryBuffer(phandle, &H4ACA55, NewBytes3(1), 5, 0)
* * * * * *CloseHandle(phandle)
* * * * * *System.Array.Clear(NewBytes1, 0, NewBytes1.Length)
* * * * * *System.Array.Clear(NewBytes2, 0, NewBytes2.Length)
* * * * * *System.Array.Clear(NewBytes3, 0, NewBytes3.Length)
* * * *End If
Please Help!!