29 #if !defined(AFX_REGISTRAR_H__233580DF_A612_4625_A3AA_2336FCE65460__INCLUDED_)
30 #define AFX_REGISTRAR_H__233580DF_A612_4625_A3AA_2336FCE65460__INCLUDED_
34 #endif // _MSC_VER > 1000
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,
93 #endif // !defined(AFX_REGISTRAR_H__233580DF_A612_4625_A3AA_2336FCE65460__INCLUDED_)