29 #if !defined(AFX_REGISTRAR_H__233580DF_A612_4625_A3AA_2336FCE65460__INCLUDED_)
30 #define AFX_REGISTRAR_H__233580DF_A612_4625_A3AA_2336FCE65460__INCLUDED_
59 UINT openTypeLib(
const OdString& sDLLPath);
63 void registerType(ITypeInfo2* pType);
64 void registerCoClass(ITypeInfo2* pType);
65 void unregisterType(ITypeInfo2* pType,
OdString ver);
66 void unregisterCoClass(ITypeInfo2* pType,
OdString ver);
67 void registerVersionIndependentProgid(
68 LPCTSTR vi_progid, LPCTSTR
name, LPCTSTR guid, LPCTSTR progid )
const;
69 bool isVersionHigher(
int major,
int minor )
const;
72 int majorVer()
const {
return m_tlbAttr.wMajorVerNum; }
73 int minorVer()
const {
return m_tlbAttr.wMinorVerNum; }
74 const OdString& decimalVerStr()
const {
return m_sCurVer; }
75 const OdString& hexVerStr()
const {
return m_sCurVerHex; }
80 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()
void unregTypeLib(const OdString &sDLLPath)
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
GLuint const GLchar * name