大家好,
我正在使用"EnumChildWindows"具有主窗口类名称的API-"ApplicationFrameWindow"或"Windows.UI.Core.CoreWindow"和子窗口类名 - " TabWindowClass"从Microsoft Edge浏览器捕获URL。这个方法工作正常,直到下面的Windows 10版本:
操作系统: - Windows 10,版本1607(OS Build 14393.1066) Microsoft边缘版本: - 38.14393.0.0
但是对于最新的Windows 10更新,"EnumChildWindows"和API失败,以下是Windows 10版本:
操作系统: - Windows 10,版本 - 1703(操作系统版本15063.138) Microsoft Edge版本: - 40.15063。 0.0
子窗口类名 - "Internet Explorer_Server"也失败了,在32位和64位Windows 10上面临同样的问题。所以任何人都帮我解决这个问题。
谢谢,
RJ
解决方案
嗯,使用这样的技术总是容易破损,所以你必须接受这是你想要做的任何事情的条件。 我怀疑Edge是否有适当的API可用于直接查找该信息。
您是否尝试过使用Spy ++查看类名是否已更改?
Hi All,
I am using "EnumChildWindows" API with main window class name- "ApplicationFrameWindow or Windows.UI.Core.CoreWindow" and child window class name- "TabWindowClass" to capture the URLs from Microsoft Edge browser. And this method is working fine until the below Windows 10 version:
OS:- Windows 10, version 1607 (OS Build 14393.1066) Microsoft Edge version:- 38.14393.0.0
But with latest Windows 10 updates, the "EnumChildWindows" API fails, below are the Windows 10 version:
OS:- Windows 10, Version - 1703 (OS Build 15063.138) Microsoft Edge version:- 40.15063.0.0
Child window class name- "Internet Explorer_Server" is also failed, facing the same issue on both 32 bit and 64 bit Windows 10. So anyone kindly help me to solve this issue.
Thanks,
RJ
解决方案Well, using techniques like this are always prone to breakage, so you have to accept that as a condition of whatever you are trying to do. I doubt that Edge has a proper API you can use to find that information directly.
Have you tried using Spy++ to see if the class names have changed?
更多推荐
EnumChildWindows API因Microsoft Edge浏览器而失败
发布评论