查看单个帖子
旧 2009-05-06, 11:56 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)