AutoCAD 2009 SP3 x86.
MS Visual Studio 2010.
.Net Framework 3.5 SP1.I wrote AutoCAD plagin, which must manage of downloading all others plagins (arx/lsp/fas/dll). It plagin implementation of interface IExtensionApplication. Plagin must load libraries according xml-file settings.
If I run it manually - all work good.
But If I load my manager via Acad.lsp, or AcadDoc.lsp, or MyMenu.mnl - then I get error:
eNoDocument.
Sorry for Russian comments - it my old code...
Code Source
here.
I think that a problem is that in a code I use a reference to object Document. But I need it reference... How can I solve it problem?