Delphi调用C#的类库,C#中方法需要传入byte[]类型,delphi中通过CreateOleObject方法调用,传入pbyte类型编译时报错[Error] Unit1.pas(72): Type not allowed in Variant Dispatch call,如果传入string类型,提示参数错误,用import type library方法CreateUnit的,找不到要调用的方法,求解
...全文
50010打赏收藏
delphi调用C#类库,怎么传byte[]类型
Delphi调用C#的类库,C#中方法需要传入byte[]类型,delphi中通过CreateOleObject方法调用,传入pbyte类型编译时报错[Error] Unit1.pas(72): Type not allowed in Variant Dispatch call,如果传入string类型,提示参数错误,用import type library方法CreateUnit的,找不到要调用的方法,求解