![]() |
【转帖】exception when using -setpathname
exception when using ->setpathname
exception when using ->setpathname tryingto update path in reference file using code below. get correct reference file but get a exception when ->setpathname() is being called. what am i doing wrong please? if ( pblock->isfromexternalreference() ) { odstring referencename; referencename = pblock->getname().c_str(); if ( 0 == referencename.compare ( userreferencename ) ) { odstring newxrefpath( userreferencepath ); pblock->setpathname( newxrefpath ); break; } } using dd 1.10up in vc 7.1 what kind of exception do you get? do you get it always? sergey slezkin i get... microsoft c++ exception oderror @ 0x0012f408 in dbgheap.c line 209 in function _nh_malloc() return _nh_malloc_dbg( nsize, nhflag, _normal_block, null, 0 ); any ideas?? myproblem is fixed now. thank you |
所有的时间均为北京时间。 现在的时间是 01:56 AM. |