1。数据库的建立(将库里Extensions/ExServices/下的相关文件加到工程里)
class MyServices : public ExHostAppServices, public ExSystemServices
{
protected:
ODRX_USING_HEAP_OPERATORS(ExSystemServices);
};
// read dwg fileOdDbDatabasePtr pDb;OdStaticRxObject<MyServices> svcs;