CAPTAIN SIM FORUM
General >> Hangar talks >> FSX and Windows 8
https://www.captainsim.org/forum/csf.pl?num=1355279719

Message started by Markoz on Dec 12th, 2012 at 2:35am

Title: Re: FSX and Windows 8
Post by VulcanB2 on Dec 20th, 2012 at 7:07pm

Markoz wrote on Dec 12th, 2012 at 1:17pm:

Yeah. I did a search for UIAutomationCore.dll and came up with four (4) instances of it in my Windows folder (Windows\System32, Windows\SysWOW64 and two of them in Windows\WinSxS). Weird! :o
But I downloaded and added the Vista 64bit UIAutamationCore.dll to the FSX root folder.

Not weird - they are slightly different versions.

Putting UIAutomationCore.DLL does not completely fix the problem. After much testing here I get a crash due to this anyway, regardless of file location and version.

The bug is NOT in UIAutomationCore but in FSX!

If the file:

1) exists
2) is accessible (can be read)

then eventually FSX will crash REGARDLESS.

Just keep hitting the right button on your mouse, or going into the menus repeatedly (about 30 times for me) - FSX will crash in less than 5 minutes doing this.

UIAutomationCore is invoked EVERY time a menu is displayed, as it hooks the menu, and makes the elements accessible to screen readers.

The bug in FSX occurs after it successfully loaded the file. It seems FSX is not freeing memory, and it eventually crashes the sim (an example of the many memory leaks present in FSX).

Using ACLs (Access Control Lists) I completely blocked ANYTHING from reading this file so the OS or another program can't load it before I start FSX. Doing this completely avoids this crash.

If you want a step-by-step I'll provide one, but note that it will break some programs completely, and others in limited ways, due to the ways they invoke UIAutomationCore.

If you don't understand what I'm on about, this fix is not for you.

Best regards,
Robin.

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.