净到COM互操作测试仪测试仪、操作、COM

由网友(霸气七字设计)分享简介:我做了一类在C#中,我暴露在COM。我可以把它就好使用RegAsm.exe注册。I made a class in C# that I am exposing to COM. I can register it just fine using RegAsm.exe.我想测试之前,我把它关闭,但使用TLBIMP.EX...

我做了一类在C#中,我暴露在COM。我可以把它就好使用RegAsm.exe注册。

I made a class in C# that I am exposing to COM. I can register it just fine using RegAsm.exe.

我想测试之前,我把它关闭,但使用TLBIMP.EXE给我的错误类型libaray是从CLR程序集导出的,不能再导入为CLR assemply。

I would like to test it before I send it off, but using TlbImp.exe gives me an error of "Type libaray was exported from a CLR assembly and cannot be re-imported as a CLR assemply."

什么是测试这是一个很好的方式?

What is a good way to test this?

推荐答案

您可以在Word中创建一个VB宏 EXCEL etc目录中:

You can create a VB macros in wordexceletc:

Dim obj As Object
Set obj = CreateObject("progid here")
Call obj.SomeMethodForTest()
阅读全文

相关推荐

最新文章