高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|