高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】problem with odcmcolor in dd 2.03
problem with odcmcolor in dd 2.03
problem with odcmcolor in dd 2.03
after migrating from dd 1.14 to dd 2.03 , i am experiencing problem
my code is similar to as shown below
<<
void cexampleappgdidevice::setentitytraits(cexampleappd rawableobject* pent)
{
//............
odcmcolor odcolor;
if(pent!=null)
{
pent->getcolor(odcolor);
}
//...........
}
when i come out of the above function , the program is crashing after call to the destructors of odcmcolor & odstring
why does it happen? how can the problem be resolved?
cexampleappdrawableobject is a class that wraps oddbentity
getcolor() returns a member variable of type odcmcolor which actually is a member of cexampleappdrawableobject
setcolor() changes the oddbentity color as well as copies the color to the odcmcolor variable of cexampleappdrawableobject
i have attached a screen shot of part of call stack
regards,
george
attached images
|