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