在可再发行组件 (biddll.dll) 中找不到 DLL

问题描述 投票:0回答:2

我很难获得运行 tws api 的示例代码。我已经在借来的笔记本电脑上成功运行它,但相同版本在我自己的 Windows 10 笔记本电脑上运行失败。在 Win32 中以发布模式运行时,出现弹出窗口

The code execution cannot proceed because biddll.dll was not found. Reinstalling the program may fix this problem.
The procedure entry point ?cancelOrder@EClient@@QAEXJ@Z could not be located in the >dynamic link library C:\Eclipse-workspace\TWS >API\samples\Cpp\TestCppClient\ReleaseTestCppClient.exe.

我已经阅读了几个类似的问题。我尝试从此处为 x86 和 x64 安装 Visual C++ Redistributable for Visual Studio 2022:https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view= msvc-170。我试过从另一个文件夹加载 biddll.dll,但它给出了消息“模块是在没有符号的情况下构建的。”。我为损坏的文件运行了“sfc /scannow”。问题仍然存在。 biddll.dll 似乎仍然不在系统文件或 API 文件中的任何位置。唯一的版本是我从项目的另一个版本复制的那个。

c++ dll dllimport ntdll
2个回答
0
投票

感谢您的建议。我卸载了 TWS API 并重新安装了它。我确保为 Release 构建。听起来有些调试库之间存在不匹配,而是开始提取它们。在进行故障排除时安装多个版本可能会出现一些意外行为。


0
投票

如果你能找到 biddll.dll,我建议你卸载它,否则你可以从一些 dll 网站下载它,比如 https://dll.websitepcpatchedup.com 并搜索 biddll.dll。 下载后放在C:\Windows\System64下希望你的问题能得到解决

© www.soinside.com 2019 - 2024. All rights reserved.