![]() |
【转帖】exception in odrecomputedimblockmoduleuninitapp90
exception in odrecomputedimblockmodule::uninitapp()
exception in odrecomputedimblockmodule::uninitapp() hello forum, since i have changed my dwgdirect version from 2.4.1 to 2.6.1, i get a system.accessviolationexception in odrecomputedimblockmodule::uninitapp() when calling oduninitialize(). this happens only if oddbdimension::recomputedimblock(true) has been called at least one time. any idea of what could cause this problem ? quote: originally posted by jerome roche hello forum, since i have changed my dwgdirect version from 2.4.1 to 2.6.1, i get a system.accessviolationexception in odrecomputedimblockmodule::uninitapp() when calling oduninitialize(). this happens only if oddbdimension::recomputedimblock(true) has been called at least one time. any idea of what could cause this problem ? do you use static or dynamic libraries? vladimir i link with static libraries. i use dd_vc9md_dummyrecomputedimblock.lib. there is a bug in extensions\dummyrecomputedimblock\dummyrecomputedi mblockmodule.cpp to fix it, add code: oddbdimension::desc()->module()->addref();to void odrecomputedimblockmodule::initapp() and code: oddbdimension::desc()->module()->release();to void odrecomputedimblockmodule::uninitapp(), and rebuild the library. look at \extensions\recomputedimblock\odrecomputedimblockm odule.cpp as a reference. vladimir it solves the issue. thank you ! |
所有的时间均为北京时间。 现在的时间是 07:53 AM. |