gpt4 book ai didi

c# - EasyHook 注入(inject) - ArgumentException "The given 32-bit library doesn' t 存在”

转载 作者:太空宇宙 更新时间:2023-11-03 10:25:29 27 4
gpt4 key购买 nike



我正在尝试使用 EasyHook 注入(inject)一个 dll

RemoteHooking.Inject(pid, InjectionOptions.Default, debug_dllPath_32, debug_dllPath_64, channel);

不幸的是,这会抛出一个 ArgumentException“STATUS_INVALID_PARAMETER_4:给定的 32 位库不存在!(代码:2)”尽管我 100% 确定路径是正确的并且引用的 dll 是一个 32 位库(平台目标: x86)


在此之前,我使用以下方法在 GAC 中注册了 dll

Config.Register("desc", debug_dllPath_32, debug_dllPath_64);


我的错误在哪里?

最佳答案

那是因为 EasyLoad32/64.dll 没有正确存在。


现在这很容易解决

  • 在 GAC 中安装 EasyLoad32/64.dll
  • 直接在应用中包含EasyLoad32/64.dll

如有任何问题,请随时提出。

编辑:在这里发现同样的问题,Link

关于c# - EasyHook 注入(inject) - ArgumentException "The given 32-bit library doesn' t 存在”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31731987/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com