Need Help With C++!

Posts 1–2 of 2 · Page 1 of 1
Need Help With C++!
well i started yesterday with C++ and i know how to do pretty much everything except writing addresses with pointers in there. if someone knows how to do it plz help me. if u dont want to tell anybody else pm me.
Quote Originally Posted by xBLuex View Post
well i started yesterday with C++ and i know how to do pretty much everything except writing addresses with pointers in there. if someone knows how to do it plz help me. if u dont want to tell anybody else pm me.
(wrong section), this is a simple code:

Code:
#include <windows.h>
void *WriteBytes(void *address, void* buffer, unsigned long size )
{
    DWORD bytesout = 0;
    if(WriteProcessMemory((HANDLE)OPENPROC_FUNCT(), address, buffer, size, &bytesout) == TRUE)
        return address;

    return NULL;
}

DATA_TYPE var = 0;
WriteBytes((void*)0xFFFFFFFF, (void*)&var, sizeof(DATA_TYPE));
DATA_TYPE = (int,char,short,long,etc..)
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us