Reference Class library

Reference Class library

tobias_wiesendanger
Advocate Advocate
502 Views
2 Replies
Message 1 of 3

Reference Class library

tobias_wiesendanger
Advocate
Advocate

I tried so reference a class library I made. This works great as long as this dll has no references to other dll.

But mine does have exactly that. There are methods that reference other project that compile to dll files.

 

Those dll files are placed next to the class library but that doesnt seam to make diffrence. Is there a way to do this or is this just somethign that is not supported and I need to workaround it?

 

iLogic Code looks something like this:

 

 

AddReference "ILogicLibrary.dll"

Dim iLogicLibrary As New ILogicLibrary.Lib(ThisDoc)

 

 

If I now use a method from this library this works if this method does not reference any other file. But there are some that do that and they fail with something like method not found.

 

regards

 

Tobias

0 Likes
Accepted solutions (1)
503 Views
2 Replies
Replies (2)
Message 2 of 3

tobias_wiesendanger
Advocate
Advocate
Accepted solution

Just found a solution. This actualy works just fine. Dont worry if you try to do something similary. This was a very specific problem with a dll that came from another addin and was called the same. So this dll was loaded instead of mine referenced in the library.

0 Likes
Message 3 of 3

JelteDeJong
Mentor
Mentor

Case of DLL hell.

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes