Hi, I am not having any luck trying to disable wow64 temporarily to test 64-bit wine-mono P/invoke .
I tried moving syswow64, removing 32-bit wine, moving wow32.dll, etc. It either insists on p/invoking 32-bit dlls, or not recognizing the .net assembly at all.
What I like to do is to test a pure 64-bit code-path - starting with neutral .net assembly, p/invoke to 64-bit dll's.
This is possible on windows - in fact cmd.exe on win 8 64-bit will refuse to p/invoke to 32-bit dll's.
Is there any way of doing this with 64-bit wine and 64-bit wine-mono?
Hin-Tak
Is there any way of doing this with 64-bit wine and 64-bit wine-mono?
Currently, Wine does not have the ability to load pure .NET PE images in a 64-bit process.
Ntdll needs to call _CorValidateImage during the loading process. _CorValidateImage needs to convert the image, in memory, to the correct architecture.
It's complicated, and I don't have a solution.