几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】odgsbasevectorizeviewdesc90 (http://www.dimcax.com/hust/showthread.php?t=17719)

yang686526 2009-05-06 08:53 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 11:12 PM.