Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
m417z
kdlibcpp
Commits
499faf52
Commit
499faf52
authored
Jan 02, 2020
by
ussrhero
Browse files
fixed ptrSize
parent
66861991
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
kdlib/source/win/dbgeng.cpp
kdlib/source/win/dbgeng.cpp
+7
-6
No files found.
kdlib/source/win/dbgeng.cpp
View file @
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
*
);
}
///////////////////////////////////////////////////////////////////////////////////
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment