查看单个帖子
旧 2009-05-06, 09:21 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】on mac - my app crahes far after last return, destroying gol

on mac - my app crahes far after last return, destroying gol
on mac - my app crahes far after last return, destroying golbal objets
on mac - my app crashes far after the last return, attempting to destroy global objetcs.
(i have a service class :
class myservices : public exsystemservices, public exhostappservices {};
declared odstaticrxobject<myservices> svcs; in the static section of my code.)
i have included the code indicated in the faq section of the doc and on the apple support (my app crashes when using dwg direct,etc..)
and now the linker aborts with the error "multiple definitions of symbol _atexit"
i am using xcode 2.4 and gcc 4.0.1
could someone give me a solution to get out of this
thanks
jph
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)