几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】experiencing problems upgrading from 1.09 to 1.11 (http://www.dimcax.com/hust/showthread.php?t=16167)

yang686526 2009-05-05 10:05 AM

【转帖】experiencing problems upgrading from 1.09 to 1.11
 
experiencing problems upgrading from 1.09 to 1.11
experiencing problems upgrading from 1.09 to 1.11
i am attempting to upgrade to 1.11 from 1.09 and am experiencing problems retrieving the registered odsmartptr objects.
after retrieving the registered oddbreadentity object by odsmartptr<oddbreadentity> preadent = pent;, the smartptr points to the wrong type of object. ultimately, the the function queryx(t::desc()) in inline void internalqueryx(const odrxobject* pobj) returns the wrong object type.
i've tried to follow the exprotocolextension and dbdumper example files but must be missing a key piece somewhere. please advise where the problem might be. i've attached the relevant header and source code of my application.
thanks.
attached files
bump bump bump


所有的时间均为北京时间。 现在的时间是 11:37 AM.