几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】adding dgn with dd (http://www.dimcax.com/hust/showthread.php?t=15051)

yang686526 2009-05-04 03:44 PM

【转帖】adding dgn with dd
 
adding dgn with dd
adding dgn with dd
will i have any problems if i statically link the dgn libs into the same dll that is statically linked to the dwgdirect libs?
we plan to add support for dgn files and would like to read/write dgn's while dwg files are in memory.
in the past, i had problem with static linked dwgdirect to different dll's. my class hierarchy crossed those dll boundaries, and some internal variables to dwgdirect were duplicated giving bad results. so this time i thought to check first if you forsee any issues when using both libraries at the same time from the same dll?
where should not be problems. note that both libraries share some modules which should be included once.
dll configuration (dd as dll) is more flexible. it would allow having drx enablers (plugins) to your application.
for example to add adt functionality (rendering of adt entities) you'll need simply put an additional set of dlls into your application folder.
sergey slezkin


所有的时间均为北京时间。 现在的时间是 03:15 PM.