【发布时间】:2014-01-12 03:55:19
【问题描述】:
我正在尝试添加使用 Visual Studio .NET 2003 ATL COM 项目构建的 COM DLL,当我点击浏览并选择 DLL 时,出现以下错误
A reference to 'MyCOM.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
但是当我使用 RegSvr32.exe 注册它并使用引用窗口中的 COM 窗格浏览它并添加它时,它工作正常。
如何只添加 dll 而无需注册?
【问题讨论】: