Open Outtay opened 3 months ago
@deverouxmartin-msft has discussed a potential fix. We'll update this Issue when we can share the details.
@ntrappe-msft those are great news. Thank you! This has actually turned into quite a blocker for our migration of the CI/CD system into the cloud. Can you maybe give me an idea when I might be able to test this? Nothing binding, just if it might be fixed this year? (Or if you can say more, if it'll take weeks or rather months?). Then I can look at other solutions for our setup if it takes too long. If not then not, just wanted to ask.
Describe the bug Context: I'm trying to execute integration tests of my company's MFC application in a docker image. Those integration tests contain a lot of UI logic and even if it's not shown MFC windows and classes are created and loaded.
This poses no problem when using hyper-v isolation mode. However, in process isolation mode mdiframe windows can't even be created.
To Reproduce Steps to reproduce the behavior:
powershell.exe
$myprocess = Start-Process .\x64\Release\TestMFCApplication.exe -PassThru
$myprocess.ExitCode
and get the Exit Code 255, showing that it did not exit successfullyExpected behavior If everything is repeated but with changing process to hyperv isolation, then
$myprocess.ExitCode
will return nothing as the program is still running.Configuration:
Additional context Attached I have the example MFC application solution with the only change being that it also outputs to the console if the frame can't be loaded. There is also the compiled .exe in there next to the source code so that it doesn't need to be built anymore (but I understand if someone wouldn't want to trust an .exe). TestMFCApplication.zip
I have investigated it using remote debugging until I couldn't anymore and where it always returns unsuccessfully is in wincore.cpp with the call
This is the call stack for that there