Wiki
Clone wikiAcadCUI / Home
readme.en.md
AcadCUI
© Andrey Bushman, 2016 https://bitbucket.org/Andrey-Bushman/acadcui
WARNING
The project cannot be compiled as AnyCPU
because AutoCAD
assemblies require x64
or x86
directly.
ABOUT
The sample of AcCUI.dll
using by external applications.
The application can edit the CUI\CUIX
files through the
AcCUI.dll
using of according AutoCAD version.
So, in the same session the program shall be able to edit CUI
file of AutoCAD 2009 or CUIX
file of AutoCAD 2017. But it is
impossible to load into the same domain multiple versions of
AcCUI.dll
. Also it is impossible unload assembly from the
domain.
Therefore each work are to be done in the separate AppDomain
All necessary AutoCAD assemblies are to be loaded into that
domain only. Later that domain can be unloaded.
THE PROBLEM
I have unexpected behaviour: AcDbMgd.dll
was loaded into the
main domain (AcadCUI.exe
) too. I still don't understand why
does it happen...
Updated