⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 server_tlb.h

📁 Direct Oracle Access 非常好的Oracle数据库直接访问组件包 支持个版本的Delphi及C++ Builder 有源码
💻 H
📖 第 1 页 / 共 2 页
字号:
// ************************************************************************ //
// 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.                                         
// ************************************************************************ //

// C++ TLBWRTR : $Revision:   1.151.1.0.1.27  $
// File generated on 25-02-2002 19:53:08 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\Program Files\Borland\CBuilder6\Projects\Demos\3Tier\Server.tlb (1)
// LIBID: {392CD3E1-F052-11D3-BD38-0020AF0B5A0C}
// LCID: 0
// Helpfile: 
// HelpString: Server Library
// DepndLst: 
//   (1) v1.0 Midas, (C:\WINDOWS\System32\midas.dll)
//   (2) v2.0 stdole, (C:\WINDOWS\System32\stdole2.tlb)
// ************************************************************************ //
#ifndef   Server_TLBH
#define   Server_TLBH

#pragma option push -b -w-inl

#include <utilcls.h>
#if !defined(__UTILCLS_H_VERSION) || (__UTILCLS_H_VERSION < 0x0600)
//
// The code generated by the TLIBIMP utility or the Import|TypeLibrary 
// and Import|ActiveX feature of C++Builder rely on specific versions of
// the header file UTILCLS.H found in the INCLUDE\VCL directory. If an 
// older version of the file is detected, you probably need an update/patch.
//
#error "This file requires a newer version of the header UTILCLS.H" \
       "You need to apply an update/patch to your copy of C++Builder"
#endif
#include <olectl.h>
#include <ocidl.h>
#if defined(USING_ATLVCL) || defined(USING_ATL)
#if !defined(__TLB_NO_EVENT_WRAPPERS)
#include <atl/atlmod.h>
#endif
#endif

#include "databkr.hpp"

using Midas::IAppServer;

// *********************************************************************//
// Forward reference of some VCL types (to avoid including STDVCL.HPP)    
// *********************************************************************//
namespace Stdvcl {class IStrings; class IStringsDisp;}
using namespace Stdvcl;
typedef TComInterface<IStrings> IStringsPtr;
typedef TComInterface<IStringsDisp> IStringsDispPtr;

namespace Server_tlb
{

// *********************************************************************//
// HelpString: Server Library
// Version:    1.0
// *********************************************************************//


// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:        
//   Type Libraries     : LIBID_xxxx                                      
//   CoClasses          : CLSID_xxxx                                      
//   DISPInterfaces     : DIID_xxxx                                       
//   Non-DISP interfaces: IID_xxxx                                        
// *********************************************************************//
extern "C" const __declspec(selectany) GUID LIBID_Server = {0x392CD3E1, 0xF052, 0x11D3,{ 0xBD, 0x38, 0x00,0x20, 0xAF, 0x0B,0x5A, 0x0C} };
extern "C" const __declspec(selectany) GUID IID_IRemoteCPPDM = {0x392CD3E2, 0xF052, 0x11D3,{ 0xBD, 0x38, 0x00,0x20, 0xAF, 0x0B,0x5A, 0x0C} };
extern "C" const __declspec(selectany) GUID CLSID_ServerCPPDM = {0x392CD3E4, 0xF052, 0x11D3,{ 0xBD, 0x38, 0x00,0x20, 0xAF, 0x0B,0x5A, 0x0C} };

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
interface DECLSPEC_UUID("{392CD3E2-F052-11D3-BD38-0020AF0B5A0C}") IRemoteCPPDM;
typedef TComInterface<IRemoteCPPDM, &IID_IRemoteCPPDM> IRemoteCPPDMPtr;


// *********************************************************************//
// Declaration of CoClasses defined in Type Library                       
// (NOTE: Here we map each CoClass to its Default Interface)              
//                                                                        
// The LIBID_OF_ macro(s) map a LIBID_OF_CoClassName to the GUID of this  
// TypeLibrary. It simplifies the updating of macros when CoClass name    
// change.                                                                
// *********************************************************************//

#define LIBID_OF_ServerCPPDM (&LIBID_Server)
// *********************************************************************//
// Interface: IRemoteCPPDM
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {392CD3E2-F052-11D3-BD38-0020AF0B5A0C}
// *********************************************************************//
interface IRemoteCPPDM  : public IAppServer
{
public:

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)



#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
// *********************************************************************//
// SmartIntf: TCOMIRemoteCPPDM
// Interface: IRemoteCPPDM
// *********************************************************************//
template <class T /* IRemoteCPPDM */ >
class TCOMIRemoteCPPDMT : public TComInterface<IRemoteCPPDM>, public TComInterfaceBase<IUnknown>
{
public:
  TCOMIRemoteCPPDMT() {}
  TCOMIRemoteCPPDMT(IRemoteCPPDM *intf, bool addRef = false) : TComInterface<IRemoteCPPDM>(intf, addRef) {}
  TCOMIRemoteCPPDMT(const TCOMIRemoteCPPDMT& src) : TComInterface<IRemoteCPPDM>(src) {}
  TCOMIRemoteCPPDMT& operator=(const TCOMIRemoteCPPDMT& src) { Bind(src, true); return *this;}


};
typedef TCOMIRemoteCPPDMT<IRemoteCPPDM> TCOMIRemoteCPPDM;

// *********************************************************************//
// DispIntf:  IRemoteCPPDM
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {392CD3E2-F052-11D3-BD38-0020AF0B5A0C}
// *********************************************************************//
template<class T>
class IRemoteCPPDMDispT : public TAutoDriver<IRemoteCPPDM>
{
public:
  IRemoteCPPDMDispT(){}

  IRemoteCPPDMDispT(IRemoteCPPDM *pintf)
  {
    TAutoDriver<IRemoteCPPDM>::Bind(pintf, false);
  }

  IRemoteCPPDMDispT(IRemoteCPPDMPtr pintf)
  {
    TAutoDriver<IRemoteCPPDM>::Bind(pintf, true);
  }

  IRemoteCPPDMDispT& operator=(IRemoteCPPDM *pintf)
  {
    TAutoDriver<IRemoteCPPDM>::Bind(pintf, false);
    return *this;
  }

  IRemoteCPPDMDispT& operator=(IRemoteCPPDMPtr pintf)
  {
    TAutoDriver<IRemoteCPPDM>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_ServerCPPDM));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_ServerCPPDM);
  }

  HRESULT         __fastcall AS_ApplyUpdates(BSTR ProviderName/*[in]*/, VARIANT Delta/*[in]*/, 
                                             long MaxErrors/*[in]*/, long* ErrorCount/*[out]*/, 
                                             VARIANT* OwnerData/*[in,out]*/, 
                                             VARIANT* Value/*[out,retval]*/);
  VARIANT         __fastcall AS_ApplyUpdates(BSTR ProviderName/*[in]*/, VARIANT Delta/*[in]*/, 
                                             long MaxErrors/*[in]*/, long* ErrorCount/*[out]*/, 
                                             VARIANT* OwnerData/*[in,out]*/);
  HRESULT         __fastcall AS_GetRecords(BSTR ProviderName/*[in]*/, long Count/*[in]*/, 
                                           long* RecsOut/*[out]*/, long Options/*[in]*/, 
                                           BSTR CommandText/*[in]*/, VARIANT* Params/*[in,out]*/, 
                                           VARIANT* OwnerData/*[in,out]*/, 
                                           VARIANT* Value/*[out,retval]*/);
  VARIANT         __fastcall AS_GetRecords(BSTR ProviderName/*[in]*/, long Count/*[in]*/, 
                                           long* RecsOut/*[out]*/, long Options/*[in]*/, 
                                           BSTR CommandText/*[in]*/, VARIANT* Params/*[in,out]*/, 
                                           VARIANT* OwnerData/*[in,out]*/);
  HRESULT         __fastcall AS_DataRequest(BSTR ProviderName/*[in]*/, VARIANT Data/*[in]*/, 
                                            VARIANT* Value/*[out,retval]*/);
  VARIANT         __fastcall AS_DataRequest(BSTR ProviderName/*[in]*/, VARIANT Data/*[in]*/);
  HRESULT         __fastcall AS_GetProviderNames(VARIANT* Value/*[out,retval]*/);
  VARIANT         __fastcall AS_GetProviderNames(void);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -