c# - Using 32-bit library from 64-bit application with perl or neko -


i know, question, want know little bit more on subject.

we have application, written in c#, compiled x64. must compiled x64, because requirment of our customer. recently, discovered have old delphi code(sighs) helpful module, must test(double sighs). stupid reason, must not compile module else delphi 7. i'm stuck x32 .dll of module , x64 application use it.

i've discovered workaround ipc communications, i'm familiar perl , discovered neko. far know perl used glue code , neko used sharing runtime between different languages. maybe there workaround using perl, neko or else?

also, if can provide example code of sharing runtime between 2 languages in neko, i'll ver grateful.

thank you!

neither perl nor neko going consume 32 bit library in 64 bit process. try use either perl or neko injecting more layers in between 2 modules.

you need use ipc of 1 form or another. there many ways that. create 32 bit c# host process 32 bit library, , communicate between 32 , 64 bit c# processes using 1 of standard .net ipc frameworks.

however, fit out-of-process com solution. create out-of-process com server exposes functionality of 32 bit dll. consume com server 64 bit process other com server.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -