![]() |
【转帖】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 |
所有的时间均为北京时间。 现在的时间是 01:06 PM. |