几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】r6025 error in paperspace (http://www.dimcax.com/hust/showthread.php?t=18309)

yang686526 2009-05-07 12:18 PM

【转帖】r6025 error in paperspace
 
r6025 error in paperspace
r6025 error in paperspace
hi,
there is a problem when i close my program. it is dwg file which is in paperspace.
opening the file is fine but when i close it, 'pure virtual function call error(r6025)' occurred
- no problem with the file which is in modelspace
- i change the file from paperspace to modelspace while i'm opening it(like the below), then the problem disappears
if(m_pdb->gettilemode() == false) m_pdb->settilemode(true);
i'm using dwgdirect c++ version 2.05.02.
do i miss some libraries?
shlwapi.lib
dd_vc6md_modelergeometry.lib
dd_vc6md_breprenderer.lib
dd_vc6md_acisbuilder.lib
dd_vc6md_br.lib
dd_vc6md_spatialindex.lib
dd_vc6md_plotsettingsvalidator.lib
gs_winopengl.lib
gs_wingdi.lib
dd_vc6md_alloc.lib
dd_vc6md_gi.lib
dd_vc6md_db.lib
dd_vc6md_dbroot.lib
dd_vc6md_ge.lib
dd_vc6md_gs.lib
dd_vc6md_root.lib
glu32.lib
cl32.lib
dd_vc6md_bmpexport.lib
dd_vc6md_dbcommands.lib
opengl32.lib
dd_vc6md_rxplotstyleservices.lib
rpcrt4.lib
dwfcore.lib
whiptk.lib
w3dtk.lib
dd_vc6md_zip.lib
dd_vc6md_zlib.lib
dd_vc6md_dwf7export.lib
dd_vc6md_dwf7import.lib
dwftoolkit.lib
do i miss some modules?
odrx_declare_static_module_entry_point(wingdimodul e); odrx_declare_static_module_entry_point(dwf7importm odule);
odrx_declare_static_module_entry_point(winopenglmo dule);
odrx_declare_static_module_entry_point(modelermodu le);
odrx_declare_static_module_entry_point(odpsplotsty leservicesimpl);
odrx_declare_static_module_entry_point(odplotsetti ngsvalidatormodule);
odrx_begin_static_module_map()
odrx_define_static_application(l"wingdi.gs", wingdimodule) odrx_define_static_application(l"dd_dwf7import", dwf7importmodule)
odrx_define_static_appmodule (l"winopengl.gs", winopenglmodule)
odrx_define_static_appmodule(l"modelergeometry.drx ", modelermodule)
odrx_define_static_application(odps_plotstyle_serv ices_appname, odpsplotstyleservicesimpl)
odrx_define_static_appmodule(l"plotsettingsvalidat or.drx", odplotsettingsvalidatormodule)
odrx_end_static_module_map()
hafa
last edited by hafa; 27th april 2008 at 07:23 pmfff">.
before closing the program you should:
1. release all smart pointers to oddb* objects (and oddbdatabase).
2. call oduninitialize()
i suppose you have a smart pointer pointing to some oddb* object if drawing is in paper space.
sergey slezkin


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