29#if !defined(AFX_REGISTRAR_H__233580DF_A612_4625_A3AA_2336FCE65460__INCLUDED_)
30#define AFX_REGISTRAR_H__233580DF_A612_4625_A3AA_2336FCE65460__INCLUDED_
38#if !defined(__APPLE__)
62 UINT openTypeLib(
const OdString& sDLLPath);
66 void registerType(ITypeInfo2* pType);
67 void registerCoClass(ITypeInfo2* pType);
68 void unregisterType(ITypeInfo2* pType,
OdString ver);
69 void unregisterCoClass(ITypeInfo2* pType,
OdString ver);
70 void registerVersionIndependentProgid(
71 LPCTSTR vi_progid, LPCTSTR
name, LPCTSTR guid, LPCTSTR progid )
const;
72 bool isVersionHigher(
int major,
int minor )
const;
75 int majorVer()
const {
return m_tlbAttr.wMajorVerNum; }
76 int minorVer()
const {
return m_tlbAttr.wMinorVerNum; }
77 const OdString& decimalVerStr()
const {
return m_sCurVer; }
78 const OdString& hexVerStr()
const {
return m_sCurVerHex; }
83 void regTypeLib(
const OdString& sDLLPath,
int toolBoxBitmap = 1, DWORD nMiscStatus = OLEMISC_RECOMPOSEONRESIZE,
TDREG_API HRESULT odAxRegisterTypeLib(const OdString &sPath, int toolBoxBitmap=1, DWORD nMiscStatus=OLEMISC_RECOMPOSEONRESIZE)
TDREG_API HRESULT odAxUnregisterTypeLib(const OdString &sPath)
void regTypeLib(const OdString &sDLLPath, int toolBoxBitmap=1, DWORD nMiscStatus=OLEMISC_RECOMPOSEONRESIZE, const OdString &sEXEPath=OdString::kEmpty)
virtual ~OdAxTypeLibRegistrar()
OdAxTypeLibRegistrar(bool bPerUser=false)
void unregTypeLib(const OdString &sDLLPath)
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
GLuint const GLchar * name