gpt4 book ai didi

c++ - 如何调查部署机器上的 "Unable to create object the system cannot find the file specified"错误

转载 作者:太空宇宙 更新时间:2023-11-04 11:40:57 24 4
gpt4 key购买 nike

我有一个使用 com visable c# dll 的 c++ 项目(acrobat pdf 插件)。在我的电脑上一切正常,但在我的部署服务器上我收到错误“无法创建对象”。我已经使用 regasm 在部署机器上注册了 dll,并在 dll 的相同位置创建了 .tlb 文件。我使用了 comxplorer 并比较了我的机器和部署机器之间的组件的 clsid,它们匹配。

这个 com dll 确实使用了其他 dll(这是一个相当大的项目)

后期绑定(bind)或类似的东西可以帮助我吗?我怎样才能开始调查这个问题?

请指教

最佳答案

当我注册 com dll 时,我需要添加/codebase 例如

...\regasm.exe "c:\foo.dll" /codebase

关于c++ - 如何调查部署机器上的 "Unable to create object the system cannot find the file specified"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21424768/

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