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

yang686526 2009-05-06 08:24 PM

【转帖】oddimensionptr-recomputedimblock throws oderror-filenotfoun
 
oddimensionptr->recomputedimblock throws oderror_filenotfoun
oddimensionptr->recomputedimblock throws oderror_filenotfound exception
i have a win32 dll project where i am trying to recompute the dimension entities found in a specified file. what is happening is that when i execute the recomputedimblock() function i get a oderror_filenotfound error.
since the first project i found in the samples was the odamfcapp i took the recomputedimblock() code from there and inserted it into my dll project. i also took the odrx_declare.. and odrx_define.. statements word for word out of that project and inserted them into my class definition file. i have attached that file for review.
any help or direction would be great.
thanks.
attached files
if you link with static dwgdirect libraries you need to call
odrx_init_static_module_map();
sergey slezkin
thank you. i figured it would be something very simple like that.


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