C# Problem

08/18/2012 10:48 spek01#1
Hello i had a problem. - I'm working in C # Hack, but I only WriteProcessMemory there, but that's not me, it's just me .. Write Pointer. My code:
Code:
oMemory.Open();
                oMemory.ReadProcess = aProcesses[0];


                int iStep2_Address = Addr.ToDec(TEXTBOX2()); //The static address of the pointer (#1) 
                int[] iStep2_Offsets = { }; //Offsets from bottom to top (#2-#6) 

                int bytesWritten; //Holds how many bytes were written by PointerWrite 

                int iValue_To_Write = int.Parse(speedValue.Text); //Value that we want to write (Step2 requires that you change the value to 1000) 
                byte[] bValue_To_Write = BitConverter.GetBytes(iValue_To_Write); //Turns 1000 into bytes 

                string sWritten_Address = oMemory.PointerWrite((IntPtr)iStep2_Address, //PointerWrite starting with our Step2 Address 
                                    bValue_To_Write, //The value to write (as bytes) 
                                    iStep2_Offsets, //Our offsets 
                                    out bytesWritten); //Stores the # of Written Bytes
And I need to address was the TextBox2. Sorry, I'm noob in C # So far, I programmed in VB
And I can not find any tutorial
Excuse my English, im from czech
08/19/2012 21:30 Logtetsch#2
Quote:
Originally Posted by spek01 View Post
that's not me, it's just me
:awesome:

Create or download a memory class.
That would be easier ;)