我想使用ProcessHacker项目中列出的一些未记录的符号。取自这里:
https://github.com/processhacker/processhacker/blob/master/phnt/include/ntpebteb.h#L241 https://github.com/processhacker/processhacker/blob/master/phnt/include/ntrtl.h#L7156
但是,我不知道它们属于哪个dll...
在项目自述页面中,据说我只需要最新的 Windows SDK,但编译后我得到:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "__declspec(dllimport) struct
_TEB_ACTIVE_FRAME * __cdecl RtlGetFrame(void)" (__imp_?
RtlGetFrame@@YAPEAU_TEB_ACTIVE_FRAME@@XZ) referenced in function "public: static
struct _TEB_ACTIVE_FRAME * __cdecl _RTL_FRAME::get(struct
_TEB_ACTIVE_FRAME_CONTEXT const *)" (?
get@_RTL_FRAME@@SAPEAU_TEB_ACTIVE_FRAME@@PEBU_TEB_ACTIVE_FRAME_CONTEXT@@@Z)
TestReentrancy C:\projects\2.3\unit_tests\InjectionTest\Project1\main.obj 1
也许有人可以告诉我如何调整我的项目配置以使其正常工作?谢谢 !