Not able find window handle on Windows 11
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.