Is there a way to directly access memory in Windows with c. I have tried several attempts but keep getting AV's. Here's some code to show what I'm doing.
int main(int argc, char* argv)
long* p = (long*) 0x00AFAED8; //Want to know the value at this address
long t = 0;
t = *p;