Determine memory address of 'self' (exe)?
Determine memory address of 'self' (exe)?
Is there a way to get the start address of an exe in memory?
Re: Determine memory address of 'self' (exe)?
Only if you enjoy pain - the exe has three different 'base' addresses, the address of the image, the address of the start of the code in the image and of course the mapping between the virtual and physical memory but have a look at:-
I assume you're referring to Windoze - if its Linux or Mac - I've no idea where to start!
http://msdn.microsoft.com/en-us/library ... s.85).aspx
I assume you're referring to Windoze - if its Linux or Mac - I've no idea where to start!
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Re: Determine memory address of 'self' (exe)?
Of course, that's why I posted in the windows forum...spikey wrote:I assume you're referring to Windoze
Thanks for the link, will read it over lunch.
-j

