![]() |
【转帖】oddbblocktablerecord.getgeomextents crash my ap
oddbblocktablerecord.getgeomextents crash my ap
oddbblocktablerecord.getgeomextents crash my ap i use my bufferstream(class cfilestreambufublic odstreambuf) and open dwg file pdatabase=readfile(cdwgengine::makefilestring(&fil e,false),false); all return ok,then oddbblocktablerecordptr pblock=pdatabase->getactivelayoutbtrid().safeopenobject(); if (!pblock.isnull()) { odgeextents3d extent; pblock->getgeomextents(extent); } program crash on getgeomextents that's ok in the dd version maked on 2007/9/26,but crash in the dd version maked on 2008/9/16 i copy the code to the sample(singledocdll),that's ok,i think that i make something wrong how can i correct or find the bug ? does the code crash on any file or some specific one? can you reproduce it in one of our samples (perhaps with modifications)? (excrept that you've posted is not enough) vladimir |
所有的时间均为北京时间。 现在的时间是 03:05 AM. |