dll - Different platform AppDomains in one .Net process? -


i interesting in: can load 32bit x86 dll second appdomain 64 bit application environment?

for more details:

1) main exe 64 bit c# pure .net 4 app;

2) module third party .net 2.0 wrapper of unmanaged x86 dll;

so can create second 32bit appdomain in 64bit .net 4 process , load 32bit module new created 32bit appdomain? , marshal between default 64bit appdomain , second 32bit appdomain?

thank advice!

that's not possible, bitness process property, not appdomain property. make work, you'll need load dll in separate process. use standard .net ipc mechanisms talk it. named pipes, sockets, remoting, wcf. or force platform target setting x86.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -