?? pbookreg_tlb.pas
字號(hào):
unit pBookReg_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.3.0.1.0 $
// File generated on 2002-3-4 14:04:55 from Type Library described below.
// ************************************************************************ //
// Type Lib: F:\MyDelphiApp\小珠租書(shū)管理系統(tǒng)\pBookReg.tlb (1)
// LIBID: {43B9F5F3-0DA1-4A78-8CFE-A906E6120AC5}
// 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)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
interface
uses Windows, ActiveX, Classes, Graphics, Midas, StdVCL, Variants;
// *********************************************************************//
// 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
pBookRegMajorVersion = 1;
pBookRegMinorVersion = 0;
LIBID_pBookReg: TGUID = '{43B9F5F3-0DA1-4A78-8CFE-A906E6120AC5}';
IID_IxzBooksBookReg: TGUID = '{54455ACC-A3CB-4971-8D08-08A18C356A15}';
CLASS_xzBooksBookReg: TGUID = '{957623EF-5680-4333-8491-2C02EF461F77}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
IxzBooksBookReg = interface;
IxzBooksBookRegDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
xzBooksBookReg = IxzBooksBookReg;
// *********************************************************************//
// Interface: IxzBooksBookReg
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {54455ACC-A3CB-4971-8D08-08A18C356A15}
// *********************************************************************//
IxzBooksBookReg = interface(IAppServer)
['{54455ACC-A3CB-4971-8D08-08A18C356A15}']
procedure CBook(const ID: WideString; const Name: WideString; const Author: WideString;
const Pub: WideString; Money: Single; const RKRQ: WideString; CS: Integer;
var vResult: OleVariant); safecall;
end;
// *********************************************************************//
// DispIntf: IxzBooksBookRegDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {54455ACC-A3CB-4971-8D08-08A18C356A15}
// *********************************************************************//
IxzBooksBookRegDisp = dispinterface
['{54455ACC-A3CB-4971-8D08-08A18C356A15}']
procedure CBook(const ID: WideString; const Name: WideString; const Author: WideString;
const Pub: WideString; Money: Single; const RKRQ: WideString; CS: Integer;
var vResult: OleVariant); dispid 2;
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 CoxzBooksBookReg provides a Create and CreateRemote method to
// create instances of the default interface IxzBooksBookReg exposed by
// the CoClass xzBooksBookReg. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
CoxzBooksBookReg = class
class function Create: IxzBooksBookReg;
class function CreateRemote(const MachineName: string): IxzBooksBookReg;
end;
implementation
uses ComObj;
class function CoxzBooksBookReg.Create: IxzBooksBookReg;
begin
Result := CreateComObject(CLASS_xzBooksBookReg) as IxzBooksBookReg;
end;
class function CoxzBooksBookReg.CreateRemote(const MachineName: string): IxzBooksBookReg;
begin
Result := CreateRemoteComObject(MachineName, CLASS_xzBooksBookReg) as IxzBooksBookReg;
end;
end.
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -