OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ocreg.h File Reference

OLE Registration definitions. More...

#include <owl/private/defs.h>
#include <owl/pointer.h>
#include <owl/registry.h>
#include <ocf/autodefs.h>
#include <ocf/appdesc.h>

Go to the source code of this file.

Classes

class  ocf::TRegistrar
 Application registration manager interface class. More...
 
class  ocf::TOcComFactory< T >
 Simple factor for COM Servers. More...
 
class  ocf::TOcAutoFactory< T >
 Simple factory for Automation Server. More...
 

Namespaces

namespace  ocf
 Object Component Framework (COM encapsulation)
 

Enumerations

enum  ocf::TOcAppMode {
  ocf::amRegServer = 0x0001 , ocf::amUnregServer = 0x0002 , ocf::amAutomation = 0x0004 , ocf::amEmbedding = 0x0008 , ocf::amLangId = 0x0010 , ocf::amTypeLib = 0x0020 , ocf::amDebug = 0x0040 , ocf::amNoRegValidate = 0x0080 , ocf::amExeModule = 0x0100 , ocf::amExeMode = 0x0200 ,
  ocf::amServedApp = 0x0400 , ocf::amSingleUse = 0x0800 , ocf::amQuietReg = 0x1000 , ocf::amRun = 0x2000 , ocf::amShutdown = 0x4000 , ocf::amAnyRegOption = amRegServer | amUnregServer | amTypeLib
}
 Application running mode and registration flags these are initialized when processing command line or registration requests the application's copy of the initial option flags is dynamically updated. More...
 

Functions

long ocf::OcRegisterClass (TRegList &regInfo, TModule *module, tostream &out, TLangId lang, LPCTSTR filter, TRegItem *defaults, TRegItem *overrides)
 Generate OLE registration file image to an output stream.
 
int ocf::OcUnregisterClass (TRegList &regInfo, TRegItem *overrides)
 Unregister application or class from registration database.
 
int ocf::OcRegistryValidate (owl::tistream &in)
 
void ocf::OcRegistryUpdate (owl::tistream &in)
 
int ocf::OcSetupDebugReg (TRegList &regInfo, TRegItem *regDebug, TLangId lang, TCHAR *clsid)
 Walk thru a reginfo list using debug entries to create a parallel non-debug set for alternate, debug registration.
 

Variables

owl::TPointer< ocf::TRegistrarRegistrar
 Global registrar object defined by the client application.
 
const int ocf::DebugRegCount = 4+1
 
TCHAR ocf::AppDebugFilter [] = _T("\001\002\003\005\006\007")
 
TCHAR ocf::DocDebugFilter []
 
owl::TRegItem ocf::OcRegNoDebug [] = { {"debugger", {_T("")}}, {0,{0}} }
 
owl::TRegItem ocf::OcRegNotDll [] = { {"cmdline", {_T("")}}, {"debugger", {_T("")}}, {0,{0}} }
 

Detailed Description

OLE Registration definitions.

Definition in file ocreg.h.

Variable Documentation

◆ Registrar

owl::TPointer<ocf::TRegistrar> Registrar
extern

Global registrar object defined by the client application.