开发者

solution using only-32bit dll and only-64bit dll

开发者 https://www.devze.com 2023-03-11 21:47 出处:网络
1) i am wanting to use a 32-bit dll that is not available as 64-bit dll 2) another constraint: Im wanting to also use another dll the 32bit version of which does not work in WOW64 so the second dll h

1) i am wanting to use a 32-bit dll that is not available as 64-bit dll

2) another constraint: Im wanting to also use another dll the 32bit version of which does not work in WOW64 so the second dll has to be included as native 64bit dll...

what are my options for creating such a solution and make it work on a 64bit system?

as i understand it, it is not possible to reference a 32bit dll in a x64 project, so, unless there are better ways, should i build:

a) a mother x86 application (first 32bit-only dll reference problem solved)

b) and also build a separate sister x64 application that does the work with the second 64bit dll (second dll WOW64 incompatibility problem solved)?

if the above approach is feasible, i will need to execute the x64 sister process from the x86 mother process (which is in wow64), but i seem to remember that x86 apps are only able to spawn 32bit children (in wow6开发者_如何学C4)? i.e. using System.Diagnostics.Process.Start("64bitSisterApp"); from the 32bit mother app that is running in wow64 will fail?

any advice appreciated!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号