Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*code for checkBox
- //------V---Pointer Name, could be anything like "ThePointer"
- DWORD FirstPointer = 0x00A79E5D; //<----Address don't forget "0x"
- //Event for checkBox1 change
- void Form1::onCheckBox1Change(System::Object ^sender, System::EventArgs ^e){
- if(this->checkBox1->Checked)
- { //------V Pointer Name
- WriteMemory(FirstPointer, 1, 0x01); //<----Bytes ( 0x01 )
- //----^ # of Bytes if theres 2 then change it to 2
- }
- else
- {
- WriteMemory(FirstPointer, 1, 0xe1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement