Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*code for checkBox
  2. //------V---Pointer Name, could be anything like "ThePointer"
  3. DWORD FirstPointer = 0x00A79E5D; //<----Address don't forget "0x"
  4. //Event for checkBox1 change
  5.     void Form1::onCheckBox1Change(System::Object ^sender, System::EventArgs ^e){
  6. if(this->checkBox1->Checked)
  7. {   //------V Pointer Name             
  8. WriteMemory(FirstPointer, 1, 0x01); //<----Bytes ( 0x01 )
  9.             //----^ # of Bytes if theres 2 then change it to 2
  10.      }
  11.      else
  12.         {
  13.          WriteMemory(FirstPointer, 1, 0xe1);
  14.      }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement