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