Z
ZZZ
Unregistered / Unconfirmed
GUEST, unregistred user!
新拾到一OCX,其一方法声明为:
severity = object1.Command (command, object2)
其中Object2的描述为
An object expression that evaluates to a Strings collection.
其VB实现代码为:
Dim result As New ESRIutil.Strings
Dim sev As Long
sev = Arcplot1.Command("mape <PATH>;arcs <PATH>", result)
在Delphi中调用时result为IDispatch,请问什么是IDispatch?
如何在Delphi中调用此方法?
severity = object1.Command (command, object2)
其中Object2的描述为
An object expression that evaluates to a Strings collection.
其VB实现代码为:
Dim result As New ESRIutil.Strings
Dim sev As Long
sev = Arcplot1.Command("mape <PATH>;arcs <PATH>", result)
在Delphi中调用时result为IDispatch,请问什么是IDispatch?
如何在Delphi中调用此方法?