![]() ![]() If the window does not have a caption, the return value is a null string. If the target window is owned by another process and has a caption, GetWindowText retrieves the window caption text. Running the same on Windows 8, Windows Server 2012, 2016 does not seem to produce the same issue. If the target window is owned by the current process, GetWindowText causes a WMGETTEXT message to be sent to the specified window or control. ![]() Testing environment where this has been reproduced: MahApps.Metro version: v2.2.0, ControlzEx 4.3.2 I also tried cleaning the app.config and window size settings created in the app data folder (C:\Users\AppData\Local\PEERNET_Inc\PNDashboard.exe_Url_3op1fp4gjqbsxfjkd3hhf0uk0empwboz) and re-running the crash only seems to happen the first time it is installed on a clean test system. A different application that is not using that Window style does not seem to have the same issue. My application is a dashboard style application using the Style="" style. ![]() it looks similar to issue #3892.ĭescription: The process was terminated due to an unhandled exception.Įxception Info: 32ExceptionĪt .GetWindowText()Īt .MetroWindowAutomationPeer.GetNameCore()Īt .AutomationPeer.UpdateSubtree()Īt ()Īt ()Īt ()Īt .Process_WM_SIZE(, IntPtr, MS., IntPtr, IntPtr)Īt .LayoutFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)Īt MS.(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)Īt MS.(System.Object)Īt .InternalRealCall(System.Delegate, System.Object, Int32)Īt .Tr圜atchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)Īt .LegacyInvokeImpl(, System.TimeSpan, System.Delegate, System.Object, Int32)Īt MS.(IntPtr, Int32, IntPtr, IntPtr) ![]() NET Framework 4.8, one of my applications crashes the first time it runs with a Win32Exception on the GetWindowText call, and then does not crash again. After updating to the latest MapApps 2.2.0 and ControlzEx 4.3.2 and targeting. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |