高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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: .
|