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