草
草在墙头
Unregistered / Unconfirmed
GUEST, unregistred user!
我在接口中定义了一个类:Member = class(TRemotable) private FmemberNO: WideString; //成员编码 published property memberNO: WideString read FmemberNO write FmemberNO; end;list6 = array of Member;MemberList = class(TRemotable) private Flist: list6; public constructor Create; override; destructor Destroy; override; published property list: list6 read Flist write Flist; end;function GetInfo: MemberList; stdcall;在客户端调用时,MemberList.list始终是非法的,怎么回事?但若这样像下面这样写,客户端调用时没问题的:function GetInfo: List6; stdcall;begin 序列化list6end;list6作为函数的返回值,是没问题的。当其作为另一个对象的属性,在传递的时候就有问题。