Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 QT hook.dll 库,它使用 detours.dll 注入到 3rd 方应用程序中。如果我将 QWidget::find() 方法添加到 hook.cpp,那么我在安装这个钩子的过程中会得到 DllNotFoundException。否则,如果我不将 QWidget::find() 添加到 .cpp 中,则挂钩正常建立。使用 VS2008 使用 QT 4.7.1 构建挂钩
请帮忙,我被这个错误折磨了 2 天:(
解决了。我通过 Dependency Walker 打开了 hook.dll。它检查所有的部门。好吧,我只需要将 QTCore 和 QTGUI 库与 hook.dll 放在同一个文件夹中。