CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 32

Threaded View

  1. #25
    Join Date
    May 2009
    Posts
    140

    Re: how to read memory address and get its value

    Quote Originally Posted by Amleto View Post
    Code:
    void* myPtr;
    
    myPtr = (void*)0x336288; // for example
    
    int x = *reinterpret_cast<int*>(myPtr);
    omg that really did it xD thx thx thx thx thx and now i can allocate pointers to addresses i read from, that would be better than reading them everytime yes?
    Last edited by Owyn; May 13th, 2009 at 01:59 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured