查看单个帖子
旧 2009-05-06, 08:53 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】odgsbasevectorizeviewdesc90

odgsbasevectorizeview::desc()
odgsbasevectorizeview::desc()
i am using the odrx_define_init_members macro for exsimpleview derived from odgsbasevectorizeview but i get "ambiguous call" error. because odgsbasevectorizeview::desc() can mean any of the three parent classes.
has anyone got aroung this problem. and if i don't use the macro, i will get a null pointer exception 'cuz g_pdesc would not be set properly. what i fear is that odgsbasevectorizeview has not overridden desc() and so the call propagates upwards to its parent classes.
- jaydutt shuklafff">

where do you get exception?
our exsimpleview (odvectorizeex sample) is sample for fighting with such exceptions.
sincerely yours,
george udov
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)