Does anyone know why the getcallingmodule returns the path of my own .dll?
code:
Code: Select all
TCHAR szCallingModulePath[MAX_PATH];
HMODULE hCallingModule = (HMODULE) GetCallingModule();
GetModuleFileName ( hCallingModule, szCallingModulePath, sizeof(szCallingModulePath) );
I simple need to know what process and .dll inside that process called the api.
I have no idea what a stack frame is, so if its because of that, can someone briefly explain.
Thanks in advance,
Jon