Ok, what i'm wanting to do is read a variables from another process
( not modify it ....just read it and output it)

so e.g.
test.exe:

int main(){
int test = 1;
return 0;
}

how would i write a program to read from the process (test.exe) and check what value "test" holds in memory and output it somehow on my application...

I've heard you can do this with DLL Injection seems pretty complexed for me to do since i only know basics in C++

Thanks for reading.... Any help would be much appreciated
PoZ

Use GetProcAddress..ReadProcessMemory..etc..

Use GetProcAddress..ReadProcessMemory..etc..

Thanks for reply mate,

don't suppose you could share quick a bit code how i would implement these functions into my application shown above?

If not il just have to search up on them functions
Also once again thanks
PoZ

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.