c# - Using 32 bit library from 64 bit project - .NET -


our application 64 bit. got adodb provider 3rd party database (nexusdb). it's 32 bit , consists of .net library (which reference fine) , beleive c .dll 32 bit. so, when compile in 32 bit works, in 64 complains can't find c .dll.

how can solve issue without compiling our code 32 bit?

edit:

3rd party dll's follow: adonet.dll - .net native dll reference , references fine. adonetprovider.dll - non-.net 32 bit dll keep in bin/ folder.

i not want compile project x86 because reference many other projects , 64.

i want make sure adonet.dll somehow called in "32 bit mode"

you have use kind of surrogate process , ipc access 32 bit dll 64bit process.

some time ago wrote legacywrapper project hides behind simple api call. may want see corresponding blog post technical details.

edit: since version 2.1, legacywrapper supports loading 64bit dlls 32bit process.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -