Passing variant argument in COM?

3 次查看(过去 30 天)
Hoi Wong
Hoi Wong 2011-6-27
I'm trying to control VisualDSP++ and have trouble passing simple numbers as Variant to the most important methods
Methods for class Interface.VisualDSP___IDDE.IADspSessionList: handle CreateSession(handle, Variant) handle Item(handle, Variant)
I tried visualDSPhandle.SessionList.Item(1) and it returns "??? Invoke Error, Dispatch Exception: The parameter is incorrect."
Any ideas? Thanks in advance

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Variant Systems 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by