草庐IT

IDiagnostics

全部标签

c# - 为什么我不能将我的 COM 对象转换为它在 C# 中实现的接口(interface)?

我在dll中有此接口(interface)(此代码显示在VisualStudio中的元数据中):#regionAssemblyXCapture.dll,v2.0.50727//d:\svn\dashboard\trunk\Source\MockDiagnosticsServer\lib\XCapture.dll#endregionusingSystem;usingSystem.Runtime.InteropServices;namespaceXCapture{[TypeLibType(4160)][Guid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX")