Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有方法的dll。此方法在 vb6 中接受一个对象参数(在 .net 中),它被定义为一个变体,它是一个字符串向量。
如何在传递字符串数组的.net 上调用此方法?
请给我一个例子
谢谢
双方对 COM 都有很好的支持。我无法从您的问题中判断呼叫是来自.net 还是来自 VB6,但无论哪种方式,与老式 COM 通信都是最简单的。