高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】problem with iterator seek90 method
problem with iterator seek() method
problem with iterator seek() method
it's complex :
in my class, i have a public variable oddbobjectid idbloc_current;
this variable is correctly initialised (i have verified the autocad handle of idbloc_current),
in a function, i have this code :
oddbblocktableptr ptableblock = getblocktableid().safeopenobject();
oddbsymboltableiteratorptr pitertableblock = ptableblock->newiterator();
pitertableblock->seek(idbloc_current); // crash
if i use the nex code, it's ok
for (pitertableblock->start(); ! pitertableblock->done(); pitertableblock->step())
{
if (pitertableblock->getrecordid() == idbloc_current)
break;
}
help me !!!
thanks,
laurent
looks like the implementation for this seek method is not completed yet. i've noted this for the engineers to look at.
|