Not able find window handle on Windows 11

John Emmatty 0 Reputation points
2023-03-01T10:05:36.1266667+00:00

My application adds an icon in the Saveas and Open dialog box(next search box) of mspaint and notepad using windows hooks. This was working fine in all the machines prior to windows 11. Now, when the system is upgraded to Windows 11 the icon fails to apply. I found out that if I install Visual C++(v143) latest compilers and libraries for x64/x86 in windows which comes with the visual studio installation, the icon is getting added without any issue, but in the customer machines we cannot ask them to visual studio. Can you please tell me whether installing any redistributables will solve this issue.

I tried the latest redistributable from https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 , but it is not helping.

User's image

Developer technologies | C++
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.