?? gd_chain_server_tlb.pas
字號:
unit GD_Chain_Server_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// PASTLWTR : $Revision: 1.130 $
// File generated on 2004-1-16 15:26:20 from Type Library described below.
// ************************************************************************ //
// Type Lib: F:\GD_2002銷售連鎖管理系統\Server\GD_Chain_Server.tlb (1)
// LIBID: {142B2F15-25E9-4DE5-AE11-63EBC1329B23}
// LCID: 0
// Helpfile:
// DepndLst:
// (1) v1.0 Midas, (C:\WINNT\System32\Midas.dll)
// (2) v2.0 stdole, (C:\WINNT\System32\stdole2.tlb)
// (3) v4.0 StdVCL, (C:\WINNT\System32\stdvcl40.dll)
// Errors:
// Hint: Parameter 'Record' of IEasy_Dcom_Server.GetRecord changed to 'Record_'
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
interface
uses ActiveX, Classes, Graphics, Midas, StdVCL, Variants, Windows;
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
// Type Libraries : LIBID_xxxx
// CoClasses : CLASS_xxxx
// DISPInterfaces : DIID_xxxx
// Non-DISP interfaces: IID_xxxx
// *********************************************************************//
const
// TypeLibrary Major and minor versions
GD_Chain_ServerMajorVersion = 1;
GD_Chain_ServerMinorVersion = 0;
LIBID_GD_Chain_Server: TGUID = '{142B2F15-25E9-4DE5-AE11-63EBC1329B23}';
IID_IEasy_Dcom_Server: TGUID = '{66D5A470-06EF-4952-9C16-F341EAFDD162}';
CLASS_Easy_Dcom_Server: TGUID = '{70D825D1-C4AD-4E28-B216-FF5152FF6118}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
IEasy_Dcom_Server = interface;
IEasy_Dcom_ServerDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
Easy_Dcom_Server = IEasy_Dcom_Server;
// *********************************************************************//
// Interface: IEasy_Dcom_Server
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {66D5A470-06EF-4952-9C16-F341EAFDD162}
// *********************************************************************//
IEasy_Dcom_Server = interface(IAppServer)
['{66D5A470-06EF-4952-9C16-F341EAFDD162}']
procedure GetRecord(const Record_: WideString); safecall;
end;
// *********************************************************************//
// DispIntf: IEasy_Dcom_ServerDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {66D5A470-06EF-4952-9C16-F341EAFDD162}
// *********************************************************************//
IEasy_Dcom_ServerDisp = dispinterface
['{66D5A470-06EF-4952-9C16-F341EAFDD162}']
procedure GetRecord(const Record_: WideString); dispid 1;
function AS_ApplyUpdates(const ProviderName: WideString; Delta: OleVariant;
MaxErrors: Integer; out ErrorCount: Integer; var OwnerData: OleVariant): OleVariant; dispid 20000000;
function AS_GetRecords(const ProviderName: WideString; Count: Integer; out RecsOut: Integer;
Options: Integer; const CommandText: WideString;
var Params: OleVariant; var OwnerData: OleVariant): OleVariant; dispid 20000001;
function AS_DataRequest(const ProviderName: WideString; Data: OleVariant): OleVariant; dispid 20000002;
function AS_GetProviderNames: OleVariant; dispid 20000003;
function AS_GetParams(const ProviderName: WideString; var OwnerData: OleVariant): OleVariant; dispid 20000004;
function AS_RowRequest(const ProviderName: WideString; Row: OleVariant; RequestType: Integer;
var OwnerData: OleVariant): OleVariant; dispid 20000005;
procedure AS_Execute(const ProviderName: WideString; const CommandText: WideString;
var Params: OleVariant; var OwnerData: OleVariant); dispid 20000006;
end;
// *********************************************************************//
// The Class CoEasy_Dcom_Server provides a Create and CreateRemote method to
// create instances of the default interface IEasy_Dcom_Server exposed by
// the CoClass Easy_Dcom_Server. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
CoEasy_Dcom_Server = class
class function Create: IEasy_Dcom_Server;
class function CreateRemote(const MachineName: string): IEasy_Dcom_Server;
end;
implementation
uses ComObj;
class function CoEasy_Dcom_Server.Create: IEasy_Dcom_Server;
begin
Result := CreateComObject(CLASS_Easy_Dcom_Server) as IEasy_Dcom_Server;
end;
class function CoEasy_Dcom_Server.CreateRemote(const MachineName: string): IEasy_Dcom_Server;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Easy_Dcom_Server) as IEasy_Dcom_Server;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -