Z
zszzyd
Unregistered / Unconfirmed
GUEST, unregistred user!
我在应用服务器上写一个树的创建过程如下:
IRM_APPServer = interface(IAppServer)
['{F752066A-EF0C-4CD2-968E-055F74CD19F2}']
...........
procedure CreateTree(var TreeName: OleVariant);
safecall;
end;
在客户端引用如下:
DCOMConnecton1.AppServer.CreateTree(@TreeView1);
但在编译客户端时出现如下出误:
Type not allow in Variant Dispatch Call
IRM_APPServer = interface(IAppServer)
['{F752066A-EF0C-4CD2-968E-055F74CD19F2}']
...........
procedure CreateTree(var TreeName: OleVariant);
safecall;
end;
在客户端引用如下:
DCOMConnecton1.AppServer.CreateTree(@TreeView1);
但在编译客户端时出现如下出误:
Type not allow in Variant Dispatch Call