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

yang686526 2009-05-06 11:56 PM

【转帖】problems with odrxdynamiclinker90-loadmodule9wingdi0;
 
problems with odrxdynamiclinker()->loadmodule("wingdi");
problems with odrxdynamiclinker()->loadmodule("wingdi");
hi,
the code line
oduint32 gsmoduleid = :: odrxdynamiclinker()->loadmodule("wingdi");
always returns gsmoduleid==0
the macros
odrx_define_dynamic_module(wingdimodule);
odrx_declare_static_module_entry_point(wingdimodul e);
odrx_begin_static_module_map()
odrx_define_static_application("wingdi", wingdimodule)
odrx_end_static_module_map()
exist in the project and the project compiles with 0 errors/warnings
wat else do i have to add/link to my project to get this working?
what does the odrxdynamiclinker? the helpfile isn't too informative.

do you work with lib or with dll version of dwgdirect?
sincerely yours,
george udov
i 've a dll which references a great number of dwgdirect libs
(dd_vc2003md*.lib and others)

do you execute macro odrx_init_static_module_map(); in initialisation of your project? (like in codamfcappapp::initinstance())
sincerely yours,
george udov
it's working now
thanks for the help


所有的时间均为北京时间。 现在的时间是 12:24 PM.