I'm actually doing this with helper executables that are 32bit. But can I do it with DLLs that run on 32bit CodeDOM?
Asked
Active
Viewed 2,204 times
6
-
8"32bit CodeDOM" doesn't mean anything. The bitness of the process is locked in by the EXE. Mixing is not supported, you need the helper EXE. – Hans Passant Dec 18 '11 at 13:35
-
1This is effectively a duplicate of [32bit dll in 64bit application in c#](http://stackoverflow.com/questions/5478904/32bit-dll-in-64bit-application-in-c-sharp). The key bit of the chosen answer there is *A process in Windows is either 32- or 64-bit and it can only load DLLs which match. Any attempt to load a DLL which does not match will fail and produce an error.* – Matthew Strawbridge Dec 18 '11 at 18:04
1 Answers
1
Maybe, this helps you Calling 32bit Code from 64bit Process
But it's better to call 32bit from separate 32bit process, and your 64bit code could start it and communicate with it