Skip to content

SymGetLineFromAddr64 fails at runtime when compiling for 32bit #170

@0blu

Description

@0blu

When compiling for 32bit these two lines will fail at runtime:

IMAGEHLP_LINE64 line;
bool got_line = SymGetLineFromAddr64(proc, addr, &displacement.b, &line);

There is a macro in DbgHelp.h (already included), which automaticity choses the right type.
So they just need to be replace with:

IMAGEHLP_LINE line;
bool got_line = SymGetLineFromAddr(proc, addr, &displacement.b, &line);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions