1
Reply

function pointer

anooshiravan keshavarzi

anooshiravan keshavarzi

Aug 28 2009 5:18 AM
3.9k
I am using a loop like the one below:
foreach(ProcessThread p in Process.GetCurrentProcess().Threads)
intPtr address = p.StartAddress;

and I want to compare this address to a method's address
which I have used to start a thread.
the question is how to get the address of a method in the format of int or intPtr?

Answers (1)