Commit 538ab3d7 authored by ussrhero's avatar ussrhero

Merge branch 'dev-1.0' of https://githomelab.ru/kdlibcpp/kdlibcpp into dev-1.0

parents b32ff7b3 499faf52
......@@ -773,13 +773,14 @@ size_t ptrSize()
{
HRESULT hres;
hres = g_dbgMgr->control->IsPointer64Bit();
if (g_dbgMgr != nullptr )
{
hres = g_dbgMgr->control->IsPointer64Bit();
if (SUCCEEDED(hres) )
return S_OK == hres ? 8 : 4;
}
if (FAILED(hres))
//throw DbgEngException( L"IDebugControl::IsPointer64Bit", hres );
return sizeof(void*);
return S_OK == hres ? 8 : 4;
return sizeof(void*);
}
///////////////////////////////////////////////////////////////////////////////////
......
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