ok the only ones that work for me are SteveK's first one he supplied and your one just then if all else failed
(command "_.netload" "blah.dll")
never mind, i have it working and want to thank you all :-D
happy days
Registered forum members do not see this ad.
I just tested it on a dll and it loaded fine.
All else, just stick (command "_.netload" "blah.dll") in your acaddoc.lsp. It doesn't have to be part of the SS:Startup.Code:(defun-q DLLSTART (/) (and (findfile "PolylineEdit.dll") (command "_.netload" "PolylineEdit.dll"))) (setq S::STARTUP (append S::STARTUP DLLSTART))
DropBox
Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

ok the only ones that work for me are SteveK's first one he supplied and your one just then if all else failed
(command "_.netload" "blah.dll")
never mind, i have it working and want to thank you all :-D
happy days
DropBox
Seann: ...it went crazy ex-girlfriend on me...
eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...
This works for me ..... a simple autoload defined in the partial menu MNL
only loads the .NET dll when needed, so startup time in minimised ( similar to demand loading)
Command: cmd1Code:(defun c:CMD1 () ;;// Codehimbelonga kwb@theSwamp 20070509 ;;(findfile "F:\\_VS2008Projects\\Projects\\ACAD-Managed\\CsMgdAcad-ColorLab\\bin\\Release\\CsMgdAcad-ColorLab.dll") (command "_NETLOAD" "F:\\_VS2008Projects\\Projects\\ACAD-Managed\\CsMgdAcad-ColorLab\\bin\\Release\\CsMgdAcad-ColorLab.dll" ) (command "CMD1") )
Concept Code For AC2008, MSVS2005 :: kwb@theSwamp 20070509 ->> ...
<dll netloads and program runs first instance>
Command: CMD1
<program runs subsequent instances>
Regards
Kerry
re-posted from theSwamp
Perfection is not optional.
another Swamper
Thanks for sorting through this guys - (yes I did go to bed - was past midnight here..)
I'm glad you got it working in the end Emily, and thanks for your patience![]()
Lee Mac Programming
With Mathematics there is the possibility of perfect rigour, so why settle for less?
Just another Swamper
Bookmarks