无法使用regsvr32注册第三方DLL

时间:2012-09-11 09:36:33

标签: c# regsvr32

我一直在尝试使用regsvr32命令注册第三方dll文件,但它一直给我错误the dll doesn't have a entry point, dll could not be registered。是否可以注册此DLL并将其用作.NET中的COM组件?我正在使用管理员权限运行命令提示符。

如果我想在c#.NET中将该dll用作COM组件,该怎么办?有没有办法将该DLL用作COM组件?当我尝试将它用作COM组件时,dll文件,其方法,接口在.NET中可见。但是当我尝试使用任何该接口时,它会将错误视为Retrieving the COM class factory for component with CLSID {C4CC4F47-2AF6-41FA-A43D-01E8B3050D3F} failed due to the following error: 80040154.

0 个答案:

没有答案