Connecting Tech Pros Worldwide Forums | Help | Site Map

C++ / Profiler

Newbie
 
Join Date: Nov 2008
Posts: 2
#1: Nov 26 '08
How can I get the object id which calls a method?


######################
Class1 c1 = new Class1();
c1.fuffa();
######################

I want to now c1's id whean fuffa is called.

void CProfilerCallback::Enter(
FunctionID funcId,
UINT_PTR clientData,
COR_PRF_FRAME_INFO func,
COR_PRF_FUNCTION_ARGUMENT_INFO *argumentInfo)
{

......................
}

I'm able to get every information I need for drawing an UML sequenze diagram, i miss just the "object" (this)

thx

Reply