How to get the starting/base address of a process in C++?

前端 未结 3 865
谎友^
谎友^ 2020-12-05 08:49

I\'m testing this whole base/static pointer thing by using it on Microsoft\'s Spider Solitaire. So I got the base pointer of the amount of \"moves\" the player has used, and

3条回答
  •  甜味超标
    2020-12-05 09:26

    You should take a look at the structure IMAGE_OPTIONAL_HEADER in your executable. I also suggest you to read this great guide : http://msdn.microsoft.com/en-us/library/ms809762.aspx

提交回复
热议问题