matlab com event interop exception
古いコメントを表示
matlab registers com event and com callback. matlab local method success in my develop machine. there is an exception in com on other machine:
System.Reflection.TargetException: Object does not match target type.
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at InQuant.Strategy.IStrategyEvent.OnEvent(String eventMsg)
1 件のコメント
liusi sun
2017 年 10 月 13 日
編集済み: Walter Roberson
2017 年 10 月 13 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB 中的 COM 对象 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!