.NET
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Is there a downside to repeated netloading via Lisp?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
A simple Lisp function can netload a .NET app. Invoking the Lisp function every time the app is needed is a brute force method to ensure the app is loaded. Apparently no errors are generated by subsequent netreloads. Unlike more sophisticated methods, this method does not involve any registry management and very easy to implement. Is there any downside to repeatedly netloading an already loaded app?
Re: Is there a downside to repeated netloading via Lisp?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I don't think there is much of a downside. That being said, I netload all the DLL's I use in a single lisp routine and just add that to the startup suite under AppLoad. I'm sure there is a more elegant way to do things, especially in 2012 with the addition of the new loading procedures..... However, it's simple, effective and only loads the libraries once.
-Mark
Re: Is there a downside to repeated netloading via Lisp?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I did not want do do it en masse automatically for each dwg because most of these applications are not fully mature yet. I like to be able to run a newly modified version with the least amount of additional effort. What is the 2012 "new loading proceedure" you are refering to that was not already possible in 2010?
aks
Re: Is there a downside to repeated netloading via Lisp?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
It's called Autoloader, here is a link to a video about it on Through-The-Interface:
I don't know a whole lot about it, as my company is stuck using 2011.
I understand what you mean about not wanting to load it all at the beginning. I have 2 sets of code and 2 lisp expressions on my machine. One is the final code that is distributed to everyone, I load it via netload with a lisp routine, the other is the development code loaded with another lisp routine. That way I can load either the main code or debug code depending on whether I'm doing production work or programming.
-Mark
Re: Is there a downside to repeated netloading via Lisp?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Interesting. Thanks for the link.
