Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8531

Load a DLL library from Rhino Plugin

$
0
0

@mcollareda wrote:

Hello,
I am stuck in trying to load a DLL library from inside a Rhino plugin written in C#.NET.
First of all, I have to say that if I write a simple console app and call the class exposed by the DLL everything works correctly, since the DLL was already registered by an installer that installed a software a registered many DLLs.
This is a 32-bit DLL. Maybe this is important.

Problems arise when I switch to a Rhino plugin.
I get the error

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

If I try with the good old regsvr32.exe I get this error

.dll was loaded, but the DllRegisterServer entry point was not found

If I try with regasm /tlb I get

RegAsm: error RA0000 : Unable to locate input assembly ‘myplugin.dll’ or one of its dependencies

I wonder why with a simple console app, simply adding a reference to the DLL, everything is working, while with Rhino it isn’t.

Thank you for any help.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8531

Trending Articles