.NET

Reply
Valued Contributor
aksaks
Posts: 92
Registered: ‎03-23-2009
Message 1 of 5 (256 Views)

Is there a downside to repeated netloading via Lisp?

256 Views, 4 Replies
03-10-2012 08:11 PM

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? 

Mentor
MarkPendergraft
Posts: 375
Registered: ‎06-27-2005
Message 2 of 5 (210 Views)

Re: Is there a downside to repeated netloading via Lisp?

03-13-2012 02:26 PM in reply to: aksaks

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

Valued Contributor
aksaks
Posts: 92
Registered: ‎03-23-2009
Message 3 of 5 (180 Views)

Re: Is there a downside to repeated netloading via Lisp?

03-14-2012 09:13 PM in reply to: MarkPendergraft

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

Mentor
MarkPendergraft
Posts: 375
Registered: ‎06-27-2005
Message 4 of 5 (168 Views)

Re: Is there a downside to repeated netloading via Lisp?

03-15-2012 07:30 AM in reply to: aksaks

It's called Autoloader, here is a link to a video about it on Through-The-Interface:

http://through-the-interface.typepad.com/through_the_interface/2011/05/adn-devcast-episode-6-autoloa...

 

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

Valued Contributor
aksaks
Posts: 92
Registered: ‎03-23-2009
Message 5 of 5 (156 Views)

Re: Is there a downside to repeated netloading via Lisp?

03-15-2012 08:18 PM in reply to: MarkPendergraft

Interesting. Thanks for the link.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community