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

yang686526 2009-05-04 03:54 PM

【转帖】aix problems
 
aix problems
aix problems
hi,
we are having problems using dwgdirect 1.12 c++ on aix (visualage 5.0 xlc_r). we have dwgdirect statically linked into a dynamic-link library which processes dwg/dxf files. our application loads this dll library and provides the interface to the user.
the problem appears to be in loading the dll. it does not call on the odrxdictionary class method _odrxdictionary_rxclass() (via the odrx_cons_define_members_internal and rxdict_constr macros). according to this class method it should initialize "odrxdictionary::g_pdesc = this;" when loading the dll (via dlopen()/dlsym()), but doesn't. later, we call on odinitialize(), which calls on rxinitialize and then an exception is raised cause there is no desc of the class.
on solaris, it works fine, and when we dlopen our library, it "init's" and calls on the class method and the description is set.
does anyone know what i'm missing?
thanks
kelly
please see: .


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