Autodesk ObjectARX
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How do I determine which dll is loaded first?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi everybody!
At the register key
HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.2\
i created some keys in order to load at the startup my c# solutions.
i want to know in what order are loaded the dlls because in the Inizialize function i have to use the other one and i want to be sure that the dll i want to use is already loaded.
how can i know it?
thanks
Re: How do I determine which dll is loaded first?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
giackserva wrote:
...i want to know in what order are loaded the dlls because in the Inizialize function i have to use the other one and i want to be sure that the dll i want to use is already loaded...
Maybe easy load dll's that you want to use yourselves with help of DynamicLinker.LoadModule(...)?
Re: How do I determine which dll is loaded first?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
You cannot rely on AutoCAD to load your DLLs in a certain order. Instead, each of your DLLs is responsible for loading any dependencies on its own, either as needed or upon initialization. It sounds like you're referring to additional .NET modules; I would assume this is handled automatically by the .NET framework, but you should ask in the .NET forum (and more fully explain what you mean by "use the other").
Owen Wengerd
ManuSoft



