Need help

Posts 1–9 of 9 · Page 1 of 1
Need help
Hello i just pass to ask if someone can help me on an injector code

i got an error D:
Code:
 Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer
    Private Declare Function VirtualAllocEx Lib "kernel32" (ByVal hProcess As Integer, ByVal lpAddress As Integer, ByVal dwSize As Integer, ByVal flAllocationType As Integer, ByVal flProtect As Integer) As Integer
    Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByVal lpBuffer() As Byte, ByVal nSize As Integer, ByVal lpNumberOfBytesWritten As UInteger) As Boolean
    Private Declare Function GetProcAddress Lib "kernel32" (ByVal hModule As Integer, ByVal lpProcName As String) As Integer
    Private Declare Function GetModuleHandle Lib "kernel32" Alias "GetModuleHandleA" (ByVal lpModuleName As String) As Integer
    Private Declare Function CreateRemoteThread Lib "kernel32" (ByVal hProcess As Integer, ByVal lpThreadAttributes As Integer, ByVal dwStackSize As Integer, ByVal lpStartAddress As Integer, ByVal lpParameter As Integer, ByVal dwCreationFlags As Integer, ByVal 

lpThreadId As Integer) As Integer
    Private Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer
    Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Integer) As Integer

    End Sub
get this error

Code:
Error	1	Keyword is not valid as an identifier.	C:\Users\Lucas\Desktop\CrossFire\MoP Injector\MoP Injector\Form1.vb	18	13	MoP Injector
the error is on the word Declare is not an identifier


And also in the word As i get

Code:
Error	7	Expression expected.	C:\Users\Lucas\Desktop\CrossFire\MoP Injector\MoP Injector\Form1.vb	25	12	MoP Injector
LOL i had that before

Mine was becuase insted of doing // i did "///" without " "
/moved

You might get proper replies here.
i really don't understand....
I can't tell if the base is right... Where did you get it from?
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us