![]() |
【转帖】erasing an oddbcircle
erasing an oddbcircle
erasing an oddbcircle hello, i have the following code: oddblineptr pline; pline = oddbline::cast(idline1.safeopenobject (oddb::kforwrite)); pline->erase(); pline = oddbline::cast(idline2.safeopenobject (oddb::kforwrite)); pline->erase(); oddbcircle* pcircle; pcircle = oddbcircle::cast(idcircle.safeopenobject (oddb::kforwrite)); pcircle->erase(); while the line is erased correctly, erasing the circle throws an error message, an assertion failed in file dbobject.cpp, line 344, invalid execution. if i omit the assertion, then the program throws an oderror exception with the following error description "not opened for read". could this be a dd bug?. sorry, the problem is using an oddbcircle* instead of an oddbcircleptr. best regards. |
所有的时间均为北京时间。 现在的时间是 05:21 PM. |