Author Topic: Autoload dll from a personal folder  (Read 1907 times)

0 Members and 1 Guest are viewing this topic.

Offline madmat

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
  • Gender: Male
    • prefered language: VB
    • Prog expertise: Good
    • View Profile
Autoload dll from a personal folder
« on: February 13, 2013, 08:30:39 PM »
Hi,

I'm searching how to load my .Net dll via the autoloader method, but from a folder on my d:\ drive (second partition).
I managed to get it loaded from a local path (C:\Program Files\Autodesk\ApplicationPlugins\Capacites.bundle\) with xml file. That works fine.
But at work I'm not administrator anymore, and if I have to copy some files on my hard drive, I have to do it on d:\

So... my question :
Is there any way to tell Autocad to watch any self-defined path at startup for personal plugins, and to load them automatically?
I've tried "Autoloadpath" but it didn't work for me (It's maybe only a path for vba and lisp applications).

Does anybody have an idea?

Offline (gile)

  • C#
  • *
  • Posts: 87
  • Karma: +8/-0
  • Gender: Male
    • prefered language: F
    • Prog expertise: Good
    • View Profile
Re: Autoload dll from a personal folder
« Reply #1 on: February 13, 2013, 10:29:59 PM »
Hi,

As far as I know, you cannot use the autoloader from a different folder of those provided by Autodesk:
- %appdata%\Autodesk\ApplicationPlugins
- %programfiles%\Autodesk\ApplicationPlugins
- %programdata%\Autodesk\ApplicationPlugins

If you have rights to write in the registry, you can register your application:
http://through-the-interface.typepad.com/through_the_interface/2006/09/automatic_loadi.html