Commit af0818ba authored by SND\ussrhero_cp's avatar SND\ussrhero_cp Committed by Mikhail I. Izmestev
Browse files

fixed getting module name for onModuleLoad

git-svn-id: https://kdlibcpp.svn.codeplex.com/svn@91246 9b283d60-5439-405e-af05-b73fd8c4d996
parent f380933d
......@@ -263,7 +263,7 @@ HRESULT STDMETHODCALLTYPE DebugManager::LoadModule(
try {
std::wstring moduleName = ModuleName ? std::wstring(ModuleName) : std::wstring();
std::wstring moduleName = getModuleName(BaseOffset);
result = ProcessMonitor::moduleLoad( getCurrentProcessId(), BaseOffset, moduleName);
}
......@@ -284,9 +284,7 @@ HRESULT STDMETHODCALLTYPE DebugManager::UnloadModule(
try {
std::wstring moduleName;
moduleName = getModuleName(BaseOffset);
std::wstring moduleName = getModuleName(BaseOffset);
result = ProcessMonitor::moduleUnload(getCurrentProcessId(), BaseOffset, moduleName);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment