JamesJ-9502 avatar image
0 Votes"
JamesJ-9502 asked JamesJ-9502 commented

Desktop 32 bit client application is not getting launched in Windows Server 2019


I am able to launch my desktop 32 bit application in Windows 10, Windows Server 2012 R, 2016. But I am not able to launch the same application when I deploy into Windows server 2019. When I debugged my application I can see WaitForMultipleObjects is going for infinite, which resulted not launching client application. Find the below code snippet for your reference. Can you please suggest me.

HANDLE hWait[2];
hWait[0] = CreateEvent( NULL, TRUE, FALSE, NULL );
hWait[1] = pApp->m_hThread;

DWORD waitForObjects = WaitForMultipleObjects( 2, hWait, FALSE, INFINITE );

Note Using VS 2019 IDE and .NET framework 4.8

James J

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It seems that the event is not set and the thread is not terminated. Show the missing details about the event and thread.

0 Votes 0 ·

I'm sorry that this part of the code alone cannot determine whether the problem is caused by WinAPI.Could you please show a minimal, reproducible sample without private information?

0 Votes 0 ·

I have observed that after Windows patch update it is started working from last Saturday. I will recheck and update. Thanks

0 Votes 0 ·

0 Answers