📄 gys_kh_tlb.pas
字号:
unit Gys_Kh_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.88.1.0.1.0 $
// File generated on 2002-1-28 20:41:46 from Type Library described below.
// ************************************************************************ //
// Type Lib: E:\客户\Gys_Kh.tlb (1)
// IID\LCID: {B037CA5B-1E6A-4FC7-9F5B-862D43A48EDC}\0
// Helpfile:
// DepndLst:
// (1) v2.0 stdole, (C:\WINNT\System32\stdole2.tlb)
// (2) v4.0 StdVCL, (C:\WINNT\System32\STDVCL40.DLL)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
interface
uses Windows, ActiveX, Classes, Graphics, OleServer, OleCtrls, StdVCL;
// *********************************************************************//
// 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
Gys_KhMajorVersion = 1;
Gys_KhMinorVersion = 1;
LIBID_Gys_Kh: TGUID = '{B037CA5B-1E6A-4FC7-9F5B-862D43A48EDC}';
IID_IBaseInfo: TGUID = '{5FB5675E-B229-4F54-B2BF-9317B7223B98}';
CLASS_BaseInfo: TGUID = '{1EBCA969-380B-42DB-9DE7-523E11C9C3CB}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
IBaseInfo = interface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
BaseInfo = IBaseInfo;
// *********************************************************************//
// Interface: IBaseInfo
// Flags: (256) OleAutomation
// GUID: {5FB5675E-B229-4F54-B2BF-9317B7223B98}
// *********************************************************************//
IBaseInfo = interface(IUnknown)
['{5FB5675E-B229-4F54-B2BF-9317B7223B98}']
procedure Gys_Class; stdcall;
procedure Init(ConStr: OleVariant; SysStr: OleVariant; Apphandle: SYSINT); stdcall;
procedure Des; stdcall;
procedure Cus_Class; stdcall;
procedure Add_Class; stdcall;
procedure CK_Class; stdcall;
procedure Color_Class; stdcall;
procedure Good_Class; stdcall;
procedure Unit_Class; stdcall;
procedure SFType_Class; stdcall;
procedure Dept_Class; stdcall;
procedure Gys_Detail; stdcall;
procedure Person_Detail; stdcall;
procedure Good_Detail; stdcall;
procedure Cus_Detail; stdcall;
procedure CK_Detail; stdcall;
end;
// *********************************************************************//
// The Class CoBaseInfo provides a Create and CreateRemote method to
// create instances of the default interface IBaseInfo exposed by
// the CoClass BaseInfo. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
CoBaseInfo = class
class function Create: IBaseInfo;
class function CreateRemote(const MachineName: string): IBaseInfo;
end;
implementation
uses ComObj;
class function CoBaseInfo.Create: IBaseInfo;
begin
Result := CreateComObject(CLASS_BaseInfo) as IBaseInfo;
end;
class function CoBaseInfo.CreateRemote(const MachineName: string): IBaseInfo;
begin
Result := CreateRemoteComObject(MachineName, CLASS_BaseInfo) as IBaseInfo;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -