x-nas / WinsockPacketEditor

Winsock packet Editor, which can intercept mobile game with simulator, supports 32-bit and 64 bit App 网络封包拦截器,可拦截手游封包,支持32位及64位程序
https://www.wpe64.com
MIT License
268 stars 71 forks source link

STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine #1

Closed MichaelVanHouHei closed 2 years ago

MichaelVanHouHei commented 2 years ago

开始注入目标进程 =>> LdVBoxHeadless 出现错误:STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine. (Code: 15) 作者你好 , 雷電模擬器注入失敗 , 我自己用C#調用easyhook也出現同樣的問題

x-nas commented 2 years ago

你试试看用管理员权限启动C#然后再调用easyhook

MichaelVanHouHei commented 2 years ago

就是管理員開的哦 試過用powershell unlock所有restrictions ,加上管理員權限還是inject不了 自已之前用easyhook 做也失敗,然後這個project 測試一下也失敗 不知道是不是我window10的版本問題

x-nas commented 2 years ago

这个问题我在easyhook的git上看到有很多人提出来了,作者也没给一个明确的说法,我的win10是企业版打了最新的补丁,暂时还没碰到这个问题,我感觉还是跟权限有关,你再试试把easyhook注册到GAC看

MichaelVanHouHei commented 2 years ago

感謝回覆 小弟考完試後研究一下 , 希望可以加入幫忙開發

MichaelVanHouHei commented 2 years ago

for those people who suffer this problem , probably as @x-nas mentioned , just simply copy the easyhook dll to C:\Windows\assembly or using gacutil /i [easyhook dll] to solve this problem

MichaelVanHouHei commented 2 years ago

image

x-nas commented 2 years ago

Nice Work!

MichaelVanHouHei commented 2 years ago

作者 , 如果把wpf 做成dll inject進去發現找不到entry point , 經網上查找我改了app.xaml的build action 也不行 , 想請教一下作者如果是使用wpf如果做到? 因為wpf不像winform有program cs , 我有試過自創main 也不行