![]() |
【转帖】unhandled Execption... Error With Odsmartptr
unhandled execption... error with odsmartptr
unhandled execption... error with odsmartptr i try to include odreadex sample in a mfc application (vc++6) and i have a unhandled execption... error when my class try to free memory with odsmartptr ---------------------- odsmartptr<odhatchpatternmanager>::release() line 184 + 10 bytes odsmartptr<odhatchpatternmanager>::~odsmartp tr<odhatchpatternmanager>() line 175 + 37 bytes exhostappservices::~exhostappservices() + 68 bytes myservices::~myservices() + 89 bytes odrxobjectimpl<myservices>::~odrxobjectimpl& lt;myservices>() + 37 bytes -------------------------------------------- have you an explication? thank you it seems that by the time exhostappservices destructor is called pattern manager object is already destroyed. it may happen if you use your own pattern manager object which is destroyed before exhostappservices object. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 05:33 PM. |