alanjt Posted December 3, 2009 Share Posted December 3, 2009 I just tested it on a dll and it loaded fine. (defun-q DLLSTART (/) (and (findfile "PolylineEdit.dll") (command "_.netload" "PolylineEdit.dll"))) (setq S::STARTUP (append S::STARTUP DLLSTART)) All else, just stick (command "_.netload" "blah.dll") in your acaddoc.lsp. It doesn't have to be part of the SS:Startup. Quote Link to comment Share on other sites More sharing options...
Emily_83 Posted December 3, 2009 Author Share Posted December 3, 2009 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 Quote Link to comment Share on other sites More sharing options...
alanjt Posted December 3, 2009 Share Posted December 3, 2009 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 Hoo-ray! Quote Link to comment Share on other sites More sharing options...
Kerry Brown Posted December 3, 2009 Share Posted December 3, 2009 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) (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") ) Command: cmd1 Concept Code For AC2008, MSVS2005 :: kwb@theSwamp 20070509 ->> ... Command: CMD1 Regards Kerry re-posted from theSwamp Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted December 3, 2009 Share Posted December 3, 2009 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.