Bill_KA350

Here's the "apparent" fix to fsx crashing (Win 7 x64)

Recommended Posts

I've been searching in vein to find this fix, and seems to work, at least for me, and others who have tried it.For some reason, the core problem lies with the uiautomationcore.dll library in Windows 7. I can't speak for crash's in other OS versions, but from what I've read, its mostly with Win 7 (x64), where Vista and XP work fine.The trick is to use the Vista version of uiautomationcore.dll and place it into the Flight Simulator X folder. Some said that you have to register it, but just dropping it in the main directory where fsx.exe resides seems to work fine. Also, registering it is probably NOT a good idea, because it would then force any program running under Win 7 to use that Vista version, and may cause a crash of its own. You only want fsx.exe to use it exclusively.To my understanding, when an executable file is run, it will first look for any dll's locally in the same folder, then through its sub folders, then if it can't find it, the program will then look at the "system path" for it. In this case, the Vista version of uiautomationcore.dll would be in that local location, load that library, and ignore the Windows 7 version.Note that its very important to NOT delete or replace uiautomationcore.dll in the System folder.FYI, the Windows 7 version number of uiautomationcore.dll is 6.1.7600.16386 (733kb). The Vista version is 6.0.5840.16386 (155kb). Here's a link to the Vista uiautomationcore.dll DLL.Just to be sure I place the Vista verion in the Flight Simulator X folder, but temporary renamed it (*.dllx), and ran fsx until it crashed (almost a certainty). I then changed it back (*.dll), and of the half dozen times I've ran fsx, it hasn't crashed yet (see crossed fingers).Good luck, and hope this works for you.Bill

  • Upvote 4

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Would placing this .dll file in the FSX main folder also help with CTD's and Vista 64...I'm getting occasional random CTD's with my VISTA 64 system and FSX unfortunately.

Share this post


Link to post
Share on other sites

After following the advice about the uiautomationcore.dll I can confirm its worked very well for me I just dropped the file into the FSX folder and that was that. I am not sure why but I also seem to have gained some FPS lol. Im flying the PMDG J41 at 26fps. Ive been flying around doing touch and goes for 2 hours and trying my hardest to get the sim to crash, I cant do it lol. Now bear im mine my PC is not all that fast I think thats really good and is all I need to fly stutter free. I cant wait for the PMDG 737NG now hehe.PS im using a vista 32 bit and nvidia card.

Share this post


Link to post
Share on other sites
After following the advice about the uiautomationcore.dll I can confirm its worked very well for me I just dropped the file into the FSX folder and that was that. I am not sure why but I also seem to have gained some FPS lol. Im flying the PMDG J41 at 26fps. Ive been flying around doing touch and goes for 2 hours and trying my hardest to get the sim to crash, I cant do it lol. Now bear im mine my PC is not all that fast I think thats really good and is all I need to fly stutter free. I cant wait for the PMDG 737NG now hehe.PS im using a vista 32 bit and nvidia card.
This is very odd!The uiautomationcore.dll bug is for 64-bit versions of uiautomationcore.dll found in 64-bit versions of Windows (Vista and 7, I don't know about XP) and the fix consists in getting FSX to use the 32-bit version of uiautomationcore.dll rather than the 64-bit one.But if you are already using Vista-32, then you are not using the 64-bit version of uiautomationcore.dll anyway, so dropping the file into your FSX directory would do nothing at all for you, except get you to use a different version of uiautomationcore.dll (could be an older one or a newer one.)Please help by posting information on the version of uiautomationcore.dll in your C:\WINDOWS\system32 vs. the version of the uiautomationcore.dll you placed in your FSX directory. (You can check the versions by right-clickinng on the file name with the mouse, then clicking on "Properties" and "File Version".)Thanks!- jahman.

Share this post


Link to post
Share on other sites
For some reason, the core problem lies with the uiautomationcore.dll library in Windows 7. I can't speak for crash's in other OS versions, but from what I've read, its mostly with Win 7 (x64), where Vista and XP work fine.
Bill,My understanding was that the uiautomationcore.dll bug was with the 64-bit version of uiautomationcore.dll found in Vista and W7 (and perhaps also XP?) and that the fix was to replace the 64-bit version of uiautomationcore.dll with the 32-bit one.See: http://forums1.avsim.net/index.php?showtop...p;#entry1712856Cheers,- jahman.

Share this post


Link to post
Share on other sites

Brilliant solution to a very annoying problem. I don't know how someone figured this out, but I'm glad they did.

Share this post


Link to post
Share on other sites
Please help by posting information on the version of uiautomationcore.dll in your C:\WINDOWS\system32 vs. the version of the uiautomationcore.dll you placed in your FSX directory. (You can check the versions by right-clickinng on the file name with the mouse, then clicking on "Properties" and "File Version".)
I have never suffered this CTD and I have Win 7, 64 bit version installed as well as FSX/Acceleration.My Windows 7 version of the UIautomationCore.dll is 6.1.7600.16385 dated 7/13/2009 (this differs from the one posted above by Bill_KA350). I have the Windows 7 Home Premium Edition installed. It sits in my System32 folder.I do not have this .dll installed in any FSX directory.Best regards,Jim

Share this post


Link to post
Share on other sites
Bill,My understanding was that the uiautomationcore.dll bug was with the 64-bit version of uiautomationcore.dll found in Vista and W7 (and perhaps also XP?) and that the fix was to replace the 64-bit version of uiautomationcore.dll with the 32-bit one.See: http://forums1.avsim.net/index.php?showtop...p;#entry1712856Cheers,- jahman.
but then if you switched the 64 bit dll with the 32 bit dll, what about the other things you want to run? (vegas pro 9 for example)

Share this post


Link to post
Share on other sites

Everytime I reinstall FSX, I have to look for this file. I vote this thread be pinned.

Share this post


Link to post
Share on other sites

I have this exact same problem and i have windows 7. i have searched for the windows 7 .dll on the website with the windows vista .dll but cannot find it. could someone please direct me to it? Thank you so much

Share this post


Link to post
Share on other sites
Where is the FSX.exe located?
Normally at C:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/fsx.exeBest regards,Jim

Share this post


Link to post
Share on other sites
Normally at C:/Program Files (x86)/Microsoft Games/Microsoft Flight Simulator X/fsx.exe Best regards,Jim
I've been searching in vein to find this fix, and seems to work, at least for me, and others who have tried it. For some reason, the core problem lies with the uiautomationcore.dll library in Windows 7. I can't speak for crash's in other OS versions, but from what I've read, its mostly with Win 7 (x64), where Vista and XP work fine. The trick is to use the Vista version of uiautomationcore.dll and place it into the Flight Simulator X folder. Some said that you have to register it, but just dropping it in the main directory where fsx.exe resides seems to work fine. Also, registering it is probably NOT a good idea, because it would then force any program running under Win 7 to use that Vista version, and may cause a crash of its own. You only want fsx.exe to use it exclusively. To my understanding, when an executable file is run, it will first look for any dll's locally in the same folder, then through its sub folders, then if it can't find it, the program will then look at the "system path" for it. In this case, the Vista version of uiautomationcore.dll would be in that local location, load that library, and ignore the Windows 7 version. Note that its very important to NOT delete or replace uiautomationcore.dll in the System folder. FYI, the Windows 7 version number of uiautomationcore.dll is 6.1.7600.16386 (733kb). The Vista version is 6.0.5840.16386 (155kb). Here's a link to the Vista uiautomationcore.dll DLL. Just to be sure I place the Vista verion in the Flight Simulator X folder, but temporary renamed it (*.dllx), and ran fsx until it crashed (almost a certainty). I then changed it back (*.dll), and of the half dozen times I've ran fsx, it hasn't crashed yet (see crossed fingers). Good luck, and hope this works for you. Bill
Do you literally just paste it into the list of things like "autogen" and "addon sceenery" in >Microsoft Flight Simulator X or is there something more to it than that? Someone said in another forum post about shift right clicking "open command prompt here"

Share this post


Link to post
Share on other sites
Do you literally just paste it into the list of things like "autogen" and "addon sceenery" in >Microsoft Flight Simulator X or is there something more to it than that? Someone said in another forum post about shift right clicking "open command prompt here"
If this file is not already in your Windows system folder, the UIAutomationCore.dll file would then be located under the core FSX folder (the same folder that fsx.exe is in). My suggestion is (if it already exists in FSX) to just rename the origional UIAutomationCore.dll file to something like UIAutomationCore.dll.orig, then copy the Vista version in the same folder. Remember, if this dll exists in your Windows system folder, do not delete, copy, or rename the existing UIAutomationCore.dll file.

Share this post


Link to post
Share on other sites
If this file is not already in your Windows system folder, the UIAutomationCore.dll file would then be located under the core FSX folder (the same folder that fsx.exe is in). My suggestion is (if it already exists in FSX) to just rename the origional UIAutomationCore.dll file to something like UIAutomationCore.dll.orig, then copy the Vista version in the same folder. Remember, if this dll exists in your Windows system folder, do not delete, copy, or rename the existing UIAutomationCore.dll file.
If it is already in there, does that mean its the Windows 7 64 bit one?

Share this post


Link to post
Share on other sites
If it is already in there, does that mean its the Windows 7 64 bit one?
Yes. You can right click the file and select Properties and then select the Detail tab and you can look at the Version as stated earlier by Bill. Best regards,Jim

Share this post


Link to post
Share on other sites
Bill, My understanding was that the uiautomationcore.dll bug was with the 64-bit version of uiautomationcore.dll found in Vista and W7 (and perhaps also XP?) and that the fix was to replace the 64-bit version of uiautomationcore.dll with the 32-bit one. See: http://forums1.avsim.net/index.php?showtop...p;#entry1712856 Cheers, - jahman.
If it is simply a matter of placing a 32-bit version of the file into the FSX folder, then why not use W7 32-bit dll file instead of going back to Vista?

Share this post


Link to post
Share on other sites

Because Microsoft did not test the Win7 version against FSX. FSX is EOL. "We" the users are doing the "testing" and "we" found that it doesn't work, so "we" put the old Vista 32-bit version in, and it worked

  • Upvote 1

Share this post


Link to post
Share on other sites

I am still getting crash's in FSX after placing the Vista version of uiautomationcore.dll into the main FSX folder. When I installed it there was no file of that name present, however I did find UIAutomationCore.dll File Version 7.0.0.0 Product Version 6.1.7600.16385 in both the C:/Windows/System32 and the C:/Windows/SysWOW64 folders. So, now I have UIAutomationCore.EXE File Version/Product Version 6.0.5840.16386 in the main FSX folder. Should I rename the file and remove the "EXE" or what? Any help will be most wellcome.

Share this post


Link to post
Share on other sites
Where is the FSX.exe located?
Go to the Program Files (x86)\ Microsoft Games\Microsoft Flight Simulator X and then go about half way down the page past the gauges and sim objects folders beyond till you see the blue FSX icon That's the FSX.exe file. if youre running Win 7 you should right click go to properties and then go to Capatability and change your setting from default XP SP3 to Win 7. This will solve any black screens that occur when using the drop down menu to turn on fsrecorder or addon manager etc.

Share this post


Link to post
Share on other sites
I am still getting crash's in FSX after placing the Vista version of uiautomationcore.dll into the main FSX folder. When I installed it there was no file of that name present, however I did find UIAutomationCore.dll File Version 7.0.0.0 Product Version 6.1.7600.16385 in both the C:/Windows/System32 and the C:/Windows/SysWOW64 folders. So, now I have UIAutomationCore.EXE File Version/Product Version 6.0.5840.16386 in the main FSX folder. Should I rename the file and remove the "EXE" or what? Any help will be most wellcome.
Do not delete those files! Those are Windows 7 files. If placing the Vista version of the uiautomationcore.dll into the main FSX folder did not work I would remove it. Something else is wrong and that was not the correct fix. The uiautomationcore.dll is part of dotnet framework which is used by developers to properly install their programs. For instance, FTX PNW requires dotnet framework 3.5 to be installed when using their product. If you have dotnet framework 4 (which comes with Windows 7) then you should be okay. It has had a lot of updates though since Windows 7 was released. The Vista uiautomationcore.dll "fix" does not work for everyone. You might want to start another thread and tell us more about your CTD's. Please check the Event Viewer of your computer to see what error message, if any, was displayed at the time of each crash. Best regards, Jim

Share this post


Link to post
Share on other sites

Thanks Jim, no I will certainly not remove those files. What I am uncertain about is the "EXE" part of the UIAutomationCore.EXE now in my FSX main folder. Should I rename it to read UlAutomationCore.dll?

Share this post


Link to post
Share on other sites
Thanks Jim, no I will certainly not remove those files. What I am uncertain about is the "EXE" part of the UIAutomationCore.EXE now in my FSX main folder. Should I rename it to read UlAutomationCore.dll?
Where did you find that file with an .EXE extension? The correct version was linked in the first post:http://www.search-dll.com/dll-files/download/uiautomationcore.dll.html You can try renaming what you have to a .dll extension, but if it doesn't work then go grab the one that is known to work... ;)

Share this post


Link to post
Share on other sites

Thanks Fr Bill, Just now re-downloaded file. Still reads UIAutomationCore.EXE that is version 6.0.5840.16386.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now