A
Annie
Unregistered / Unconfirmed
GUEST, unregistred user!
我需要在MTS中返回一组packed record给oleVariant变量,不知如何实现?
返回后需在ASP页面中读取这组数据,请问如何实现?
返回后需在ASP页面中读取这组数据,请问如何实现?
接口:
IUser = interface(IUnknown)
['{51299263-DF5E-4723-B4F7-05BFC6800DF4}']
function Get_UserName: WideString;
safecall;
procedure Set_UserName(const Value: WideString);
safecall;
function Get_ID: Integer;
safecall;
procedure Set_ID(Value: Integer);
safecall;
function Get_ChaName: WideString;
safecall;
procedure Set_ChaName(const Value: WideString);
safecall;
function Get_EngName: WideString;
safecall;
procedure Set_EngName(const Value: WideString);
safecall;
function Get_Password: WideString;
safecall;
procedure Set_Password(const Value: WideString);
safecall;
function Get_Cookie: WideString;
safecall;
procedure Set_Cookie(const Value: WideString);
safecall;
function Get_IP: WideString;
safecall;
procedure Set_IP(const Value: WideString);
safecall;
function Get_DepartmentID: Integer;
safecall;
procedure Set_DepartmentID(Value: Integer);
safecall;
function Get_DepartmentName: WideString;
safecall;
procedure Set_DepartmentName(const Value: WideString);
safecall;
property UserName: WideString read Get_UserName write Set_UserName;
property ID: Integer read Get_ID write Set_ID;
property ChaName: WideString read Get_ChaName write Set_ChaName;
property EngName: WideString read Get_EngName write Set_EngName;
property Password: WideString read Get_Password write Set_Password;
property Cookie: WideString read Get_Cookie write Set_Cookie;
property IP: WideString read Get_IP write Set_IP;
property DepartmentID: Integer read Get_DepartmentID write Set_DepartmentID;
property DepartmentName: WideString read Get_DepartmentName write Set_DepartmentName;
end;
IUsers = interface(IDispatch)
['{8AA6BBD6-BA63-436D-AD02-9A7C2BD415E8}']
function New: IUser;
safecall;
procedure Delete(Index: Integer);
safecall;
procedure Clear;
safecall;
function Add(const Item: IUser): Integer;
safecall;
function IndexOf(const aCookie: WideString): Integer;
safecall;
function AddUser(const Item: IUser): Integer;
safecall;
function Get_Count: Integer;
safecall;
function Get_Item(const aCookie: WideString): IUser;
safecall;
function GetItem(Index: Integer;
const Password: WideString): IUser;
safecall;
property Count: Integer read Get_Count;
property Item[const aCookie: WideString]: IUser read Get_Item;
end;