📄 aspvendorquerybiz_tlb.pas
字号:
unit aspVendorQueryBiz_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 : 1.2
// File generated on 2004-7-24 13:04:46 from Type Library described below.
// ************************************************************************ //
// Type Lib: G:\物资管理系统\ASP定制对象\aspVendorQueryBiz.tlb (1)
// LIBID: {B8E8A1C8-95FF-4B3B-A369-96A613194B0B}
// LCID: 0
// Helpfile:
// HelpString: aspVendorQueryBiz Library
// DepndLst:
// (1) v2.0 stdole, (C:\WINNT\System32\stdole2.tlb)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface
uses Windows, ActiveX, Classes, Graphics, 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
aspVendorQueryBizMajorVersion = 1;
aspVendorQueryBizMinorVersion = 0;
LIBID_aspVendorQueryBiz: TGUID = '{B8E8A1C8-95FF-4B3B-A369-96A613194B0B}';
IID_ImtsVendorQuery: TGUID = '{692C3517-72AC-4544-8EFB-5421B6EC6B24}';
CLASS_mtsVendorQuery: TGUID = '{41E94416-0EC5-4747-BB1E-910D9443F961}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
ImtsVendorQuery = interface;
ImtsVendorQueryDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
mtsVendorQuery = ImtsVendorQuery;
// *********************************************************************//
// Interface: ImtsVendorQuery
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {692C3517-72AC-4544-8EFB-5421B6EC6B24}
// *********************************************************************//
ImtsVendorQuery = interface(IDispatch)
['{692C3517-72AC-4544-8EFB-5421B6EC6B24}']
function GetGoodsInfoByBarCode(const ABarCode: WideString): WideString; safecall;
function GetAllGoodsInfoByVendorId(const AId: WideString): WideString; safecall;
procedure SetVendorId(const AId: WideString); safecall;
end;
// *********************************************************************//
// DispIntf: ImtsVendorQueryDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {692C3517-72AC-4544-8EFB-5421B6EC6B24}
// *********************************************************************//
ImtsVendorQueryDisp = dispinterface
['{692C3517-72AC-4544-8EFB-5421B6EC6B24}']
function GetGoodsInfoByBarCode(const ABarCode: WideString): WideString; dispid 201;
function GetAllGoodsInfoByVendorId(const AId: WideString): WideString; dispid 202;
procedure SetVendorId(const AId: WideString); dispid 203;
end;
// *********************************************************************//
// The Class ComtsVendorQuery provides a Create and CreateRemote method to
// create instances of the default interface ImtsVendorQuery exposed by
// the CoClass mtsVendorQuery. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
ComtsVendorQuery = class
class function Create: ImtsVendorQuery;
class function CreateRemote(const MachineName: string): ImtsVendorQuery;
end;
implementation
uses ComObj;
class function ComtsVendorQuery.Create: ImtsVendorQuery;
begin
Result := CreateComObject(CLASS_mtsVendorQuery) as ImtsVendorQuery;
end;
class function ComtsVendorQuery.CreateRemote(const MachineName: string): ImtsVendorQuery;
begin
Result := CreateRemoteComObject(MachineName, CLASS_mtsVendorQuery) as ImtsVendorQuery;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -