X
xf163
Unregistered / Unconfirmed
GUEST, unregistred user!
我用 exec 另存的 login.dll 如下:
Dispatch _Login;
GUID={56CBA7EA-CE2B-4749-88AB-D2CF793E2647};
function QueryInterface(riid:^GUID
out ppvObj:^^void);
function AddRef: UI4;
function Release: UI4;
function GetTypeInfoCount(out pctinfo:^UINT);
function GetTypeInfo(itinfo:UINT
lcid:UI4
out pptinfo:^^void);
function GetIDsOfNames(riid:^GUID
rgszNames:^^I1
cNames:UINT
lcid:UI4
out rgdispid:^I4);
function Invoke(dispidMember:I4
riid:^GUID
lcid:UI4
wFlags:UI2
pdispparams:^DISPPARAMS
out pvarResult:^variant
out pexcepinfo:^EXCEPINFO
out puArgErr:^UINT);
property-get cServer: variant;
property-put cServer(variant);
property-put ProcessId(^I4);
function RemoteExec(out cCmd:^BSTR): variant;
property-get LanguageID: I4;
property-get cUserPassWord: BSTR;
property-get UfSystemDb: IDispatch;
property-get ShareString: BSTR;
property-get LogState: I4;
property-get SysPassword: BSTR;
property-get CSubName: BSTR;
property-get cAcc_Id: BSTR;
property-put cAcc_Id(^BSTR);
property-get CAccName: BSTR;
property-get CurDate: date;
property-get cIYear: BSTR;
property-get iMonth: I2;
property-get cUserId: BSTR;
property-get cUserName: BSTR;
property-get UfDbName: BSTR;
property-get UfDbPath: BSTR;
property-get UfZtPath: BSTR;
property-get IsAdmin: bool;
property-get InitVar: BSTR;
function ClearError;
function AccPeriod(out bRetPeriod:^bool
out dateBegin:^date
out dateEnd:^date): I4;
function Login(out pSubId:^BSTR
out pAccId:^BSTR
out pYearId:^BSTR
out pUserId:^BSTR
out pPassword:^BSTR
out pDate:^BSTR
out cSrv:^BSTR): bool;
function LoginAS(pSubId:BSTR): bool;
function TaskExec(pAuth_id:BSTR
bIsLock:I2
iYear:I2): bool;
function ClosingStatus(nIndex:I2
cSubId:BSTR
iYear:I2
out bStateValue:^bool): bool;
function GetAccInfo(nIndex:I4
out vValue:^variant): bool;
function ShutDown;
function FD_Month_Used(out dbszj:^^_Connection): I2;
function CADemoMonth(out dbs:^^_Connection): I2;
function IAMonthHandled(out ObjDatabase:^^_Connection): I2;
Class Login;
GUID={A11BCAA6-730E-11D4-BD7C-000021EA4FD8};
function QueryInterface(riid:^GUID
out ppvObj:^^void);
function AddRef: UI4;
function Release: UI4;
function GetTypeInfoCount(out pctinfo:^UINT);
function GetTypeInfo(itinfo:UINT
lcid:UI4
out pptinfo:^^void);
function GetIDsOfNames(riid:^GUID
rgszNames:^^I1
cNames:UINT
lcid:UI4
out rgdispid:^I4);
function Invoke(dispidMember:I4
riid:^GUID
lcid:UI4
wFlags:UI2
pdispparams:^DISPPARAMS
out pvarResult:^variant
out pexcepinfo:^EXCEPINFO
out puArgErr:^UINT);
property-get cServer: variant;
property-put cServer(variant);
property-put ProcessId(^I4);
function RemoteExec(out cCmd:^BSTR): variant;
property-get LanguageID: I4;
property-get cUserPassWord: BSTR;
property-get UfSystemDb: IDispatch;
property-get ShareString: BSTR;
property-get LogState: I4;
property-get SysPassword: BSTR;
property-get CSubName: BSTR;
property-get cAcc_Id: BSTR;
property-put cAcc_Id(^BSTR);
property-get CAccName: BSTR;
property-get CurDate: date;
property-get cIYear: BSTR;
property-get iMonth: I2;
property-get cUserId: BSTR;
property-get cUserName: BSTR;
property-get UfDbName: BSTR;
property-get UfDbPath: BSTR;
property-get UfZtPath: BSTR;
property-get IsAdmin: bool;
property-get InitVar: BSTR;
function ClearError;
function AccPeriod(out bRetPeriod:^bool
out dateBegin:^date
out dateEnd:^date): I4;
function Login(out pSubId:^BSTR
out pAccId:^BSTR
out pYearId:^BSTR
out pUserId:^BSTR
out pPassword:^BSTR
out pDate:^BSTR
out cSrv:^BSTR): bool;
function LoginAS(pSubId:BSTR): bool;
function TaskExec(pAuth_id:BSTR
bIsLock:I2
iYear:I2): bool;
function ClosingStatus(nIndex:I2
cSubId:BSTR
iYear:I2
out bStateValue:^bool): bool;
function GetAccInfo(nIndex:I4
out vValue:^variant): bool;
function ShutDown;
function FD_Month_Used(out dbszj:^^_Connection): I2;
function CADemoMonth(out dbs:^^_Connection): I2;
function IAMonthHandled(out ObjDatabase:^^_Connection): I2;
Alias Login___v0;
GUID={A11BCAA5-730E-11D4-BD7C-000021EA4FD8};
_Login
Alias Login___v1;
GUID={0611E295-73F5-11D4-BD7E-000021EA4FD8};
_Login
Alias Login___v2;
GUID={AEF554F9-759C-11D4-BD83-000021EA4FD8};
_Login
Alias Login___v3;
GUID={DC372A5F-772B-11D4-BD85-000021EA4FD8};
_Login
我该如何在 delphi 中传递一个 loginas('DP')过去,得到
Login的pSubId;pAccId;pYearId;pUserId;pDate;cSrv;?
Dispatch _Login;
GUID={56CBA7EA-CE2B-4749-88AB-D2CF793E2647};
function QueryInterface(riid:^GUID
out ppvObj:^^void);
function AddRef: UI4;
function Release: UI4;
function GetTypeInfoCount(out pctinfo:^UINT);
function GetTypeInfo(itinfo:UINT
lcid:UI4
out pptinfo:^^void);
function GetIDsOfNames(riid:^GUID
rgszNames:^^I1
cNames:UINT
lcid:UI4
out rgdispid:^I4);
function Invoke(dispidMember:I4
riid:^GUID
lcid:UI4
wFlags:UI2
pdispparams:^DISPPARAMS
out pvarResult:^variant
out pexcepinfo:^EXCEPINFO
out puArgErr:^UINT);
property-get cServer: variant;
property-put cServer(variant);
property-put ProcessId(^I4);
function RemoteExec(out cCmd:^BSTR): variant;
property-get LanguageID: I4;
property-get cUserPassWord: BSTR;
property-get UfSystemDb: IDispatch;
property-get ShareString: BSTR;
property-get LogState: I4;
property-get SysPassword: BSTR;
property-get CSubName: BSTR;
property-get cAcc_Id: BSTR;
property-put cAcc_Id(^BSTR);
property-get CAccName: BSTR;
property-get CurDate: date;
property-get cIYear: BSTR;
property-get iMonth: I2;
property-get cUserId: BSTR;
property-get cUserName: BSTR;
property-get UfDbName: BSTR;
property-get UfDbPath: BSTR;
property-get UfZtPath: BSTR;
property-get IsAdmin: bool;
property-get InitVar: BSTR;
function ClearError;
function AccPeriod(out bRetPeriod:^bool
out dateBegin:^date
out dateEnd:^date): I4;
function Login(out pSubId:^BSTR
out pAccId:^BSTR
out pYearId:^BSTR
out pUserId:^BSTR
out pPassword:^BSTR
out pDate:^BSTR
out cSrv:^BSTR): bool;
function LoginAS(pSubId:BSTR): bool;
function TaskExec(pAuth_id:BSTR
bIsLock:I2
iYear:I2): bool;
function ClosingStatus(nIndex:I2
cSubId:BSTR
iYear:I2
out bStateValue:^bool): bool;
function GetAccInfo(nIndex:I4
out vValue:^variant): bool;
function ShutDown;
function FD_Month_Used(out dbszj:^^_Connection): I2;
function CADemoMonth(out dbs:^^_Connection): I2;
function IAMonthHandled(out ObjDatabase:^^_Connection): I2;
Class Login;
GUID={A11BCAA6-730E-11D4-BD7C-000021EA4FD8};
function QueryInterface(riid:^GUID
out ppvObj:^^void);
function AddRef: UI4;
function Release: UI4;
function GetTypeInfoCount(out pctinfo:^UINT);
function GetTypeInfo(itinfo:UINT
lcid:UI4
out pptinfo:^^void);
function GetIDsOfNames(riid:^GUID
rgszNames:^^I1
cNames:UINT
lcid:UI4
out rgdispid:^I4);
function Invoke(dispidMember:I4
riid:^GUID
lcid:UI4
wFlags:UI2
pdispparams:^DISPPARAMS
out pvarResult:^variant
out pexcepinfo:^EXCEPINFO
out puArgErr:^UINT);
property-get cServer: variant;
property-put cServer(variant);
property-put ProcessId(^I4);
function RemoteExec(out cCmd:^BSTR): variant;
property-get LanguageID: I4;
property-get cUserPassWord: BSTR;
property-get UfSystemDb: IDispatch;
property-get ShareString: BSTR;
property-get LogState: I4;
property-get SysPassword: BSTR;
property-get CSubName: BSTR;
property-get cAcc_Id: BSTR;
property-put cAcc_Id(^BSTR);
property-get CAccName: BSTR;
property-get CurDate: date;
property-get cIYear: BSTR;
property-get iMonth: I2;
property-get cUserId: BSTR;
property-get cUserName: BSTR;
property-get UfDbName: BSTR;
property-get UfDbPath: BSTR;
property-get UfZtPath: BSTR;
property-get IsAdmin: bool;
property-get InitVar: BSTR;
function ClearError;
function AccPeriod(out bRetPeriod:^bool
out dateBegin:^date
out dateEnd:^date): I4;
function Login(out pSubId:^BSTR
out pAccId:^BSTR
out pYearId:^BSTR
out pUserId:^BSTR
out pPassword:^BSTR
out pDate:^BSTR
out cSrv:^BSTR): bool;
function LoginAS(pSubId:BSTR): bool;
function TaskExec(pAuth_id:BSTR
bIsLock:I2
iYear:I2): bool;
function ClosingStatus(nIndex:I2
cSubId:BSTR
iYear:I2
out bStateValue:^bool): bool;
function GetAccInfo(nIndex:I4
out vValue:^variant): bool;
function ShutDown;
function FD_Month_Used(out dbszj:^^_Connection): I2;
function CADemoMonth(out dbs:^^_Connection): I2;
function IAMonthHandled(out ObjDatabase:^^_Connection): I2;
Alias Login___v0;
GUID={A11BCAA5-730E-11D4-BD7C-000021EA4FD8};
_Login
Alias Login___v1;
GUID={0611E295-73F5-11D4-BD7E-000021EA4FD8};
_Login
Alias Login___v2;
GUID={AEF554F9-759C-11D4-BD83-000021EA4FD8};
_Login
Alias Login___v3;
GUID={DC372A5F-772B-11D4-BD85-000021EA4FD8};
_Login
我该如何在 delphi 中传递一个 loginas('DP')过去,得到
Login的pSubId;pAccId;pYearId;pUserId;pDate;cSrv;?