几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】need for adinit.da (http://www.dimcax.com/hust/showthread.php?t=17298)

yang686526 2009-05-06 06:21 PM

【转帖】need for adinit.da
 
need for adinit.dat
need for adinit.dat
i seem to be late on the dwgdirect bandwagon and have some basic questions which i cannot find in previous posts:
what is the use of the initialization file - adinit.dat.
even if i do not call odcharmapper::initialize(...) with this file, the dwgdirect library seems to work fine i.e. i can read the mtext entity correctly.
thanks
adinit.dat contains tables for converting characters between different code pages. it's not necesary if you open files created in the same code page as you have on your computer.
sergey slezkin
a bit more details:
on windows platform if adinit.dat is not used odcharmapper uses windows api for conversions between different code pages. but it works only for code pages installed on the computer.
sergey slezkin


所有的时间均为北京时间。 现在的时间是 12:37 AM.