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