Unable to load an Unmanaged module

I’m currently trying to load an unmanaged plugin into a winforms host(oxygene). I keep getting a “Could not load unmanaged module dll (193)” error. If I try and load the dll into the ManagedOxygeneHost sample it works fine (I changed the host slightly to read the correct dll name). I have also tried to create a new host application (the first example I tried to convert an old winforms app to a host application by adding a module manager and hostpanel), but still I get the same error message. Am I missing some reference or something?

1 Like

Ok, figured it out. The plugin is an unmanaged 32-bit dll. I’m working on a 64-bit machine, and my winforms host was set to any cpu type.

1 Like