高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】current adinit.dat file
current adinit.dat file
current adinit.dat file
hello-
i am doing some bug fixes in our app that uses dwgdirect. it appears that there is some sort of incompatibility between the current version of this file, and the one we are using in our app. when the codepage mapping is init'ed, the offsets to the data for each codepage are read in. we are seeing an offset of -1 being read in for cp_undefined and cp_ascii. this causes a runtime exception when trying to seek to the location of the data for either of these codepages.
the version of adint.dat that we are using is dated 2001. i am assuming that there have been changes to this file since then. the problem is that i cannot find a new version of this file in the dwgdirect code that i have access to.
so can anyone confirm that there have been changes to this file? and also, can anyone post a current version of this file?
thanks,
mike ryan
hello mike,
there is no any other version adinit.dat and it doesn't contents cp_undefined and cp_ascii tables. this tables are initialised in code during init odcharmapper. unfortunately dwgdirect had mistake (flag isloaded wasn't set). it was fixed in version 2.0.01.
best regards,
sergey z.
thanks for the help! that was exactly the clue we needed. your help is much appreciated!
|