![]() |
【转帖】multiple odinitialize90 assert vers 1.10
multiple odinitialize() assert vers 1.10
multiple odinitialize() assert vers 1.10 hi, previous in dwgdirect 1.09 version i used the code below every time i exported an autocad file, this worked perfect. now with dwgdirect 1.10 update 1, i get an assert from the library the second time the odinitialize() function is called. ( acadmodule.cpp line 136, s_pdwgclassmap == 0 ) odrxobjectimpl<exsystemservices> lservices; odinitialize(&ldxfservices); oddbdatabaseptr lpdb = lservices.createdatabase(); // fill lpdb database with my graphics lpdb->writefile( &lfb, lfiletype, loutversion, true ); lpdb.release(); oduninitialize(); should it be possible to use multiple odinitialize/odunitialize ? or is it just coincident that it worked in 1.09 ? please advise erwin hi, it's our bug and it's fixed in 1.11 you can just ignore this assert. |
所有的时间均为北京时间。 现在的时间是 11:08 AM. |