It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi guys,

I open up GOG Galaxy a week ago and all go well.
Today I try to open GOG Galaxy and get this error: Unable to start the application correctly (0xc0000142)
Click OK to close the application.

When I see this error I go to the event Viewer and found that the error is generated by C:\Windows\System32\MFC140U.DLL with:
- Exception Code: 0xc0000005
- Offset error: 0x002fd0b6

I already uninstalled and installed back Microsoft Visual C++ 2015 Redistributable x64 and x86 versions, but nothing change.
I also uninstalled and installed GOG Galaxy 3 times, without solve
I also tried to disable antivirus, without solving.

The MFC140U.dll files that I have installed is dated 11/11/2020 11.27.

anyone know how to solve this problem?

Thanks in advance
Andrea
Post edited May 01, 2021 by DreamOfHero
No posts in this topic were marked as the solution yet. If you can help, add your reply
avatar
DreamOfHero: Unable to start the application correctly (0xc0000142)
Click OK to close the application.

When I see this error I go to the event Viewer and found that the error is generated by C:\Windows\System32\MFC140U.DLL with:
- Exception Code: 0xc0000005
- Offset error: 0x002fd0b6
See these links, maybe they will help:
- answers.microsoft.com, look for the ElderN's post.
- thegeekpage, here are various solutions to try. It's worth mentioning to not download external dlls here as general recommendation, but find an appropriate redistributable from official sources.
avatar
DreamOfHero: Unable to start the application correctly (0xc0000142)
Click OK to close the application.

When I see this error I go to the event Viewer and found that the error is generated by C:\Windows\System32\MFC140U.DLL with:
- Exception Code: 0xc0000005
- Offset error: 0x002fd0b6
avatar
DawEdhel: See these links, maybe they will help:
- answers.microsoft.com, look for the ElderN's post.
- thegeekpage, here are various solutions to try. It's worth mentioning to not download external dlls here as general recommendation, but find an appropriate redistributable from official sources.
I try all the solution, no one work...
Now I have unistalled all redistributable Visual c++ and installed the latest one only.
I try also to unistall and reinstall the launcher again, but the error persists...
avatar
DreamOfHero: I open up GOG Galaxy a week ago and all go well.
Today I try to open GOG Galaxy and get this error: Unable to start the application correctly (0xc0000142)
Click OK to close the application.
Do you remember any notable changes you've done in the environment during this week?
If you have any self-updating apps like Windows or drivers updates, check their histories if anything was done at this time period.
avatar
DreamOfHero: I open up GOG Galaxy a week ago and all go well.
Today I try to open GOG Galaxy and get this error: Unable to start the application correctly (0xc0000142)
Click OK to close the application.
avatar
DawEdhel: Do you remember any notable changes you've done in the environment during this week?
If you have any self-updating apps like Windows or drivers updates, check their histories if anything was done at this time period.
I On ly installed a free games from Steam: The singing Monster.
avatar
DreamOfHero: Now I have unistalled all redistributable Visual c++ and installed the latest one only.
According to this post, MFC140U.DLL is a part of Microsoft Visual C++ 2015.
And if I understood correctly, you've uninstalled it, and yet the file is still there (maybe it's intended by microsoft part).

Can you try to move/rename that file and see what will happen after opening galaxy?
If it goes with missing dll error, then you can try to follow steps in the linked post above.
avatar
DreamOfHero: Now I have unistalled all redistributable Visual c++ and installed the latest one only.
avatar
DawEdhel: According to this post, MFC140U.DLL is a part of Microsoft Visual C++ 2015.
And if I understood correctly, you've uninstalled it, and yet the file is still there (maybe it's intended by microsoft part).

Can you try to move/rename that file and see what will happen after opening galaxy?
If it goes with missing dll error, then you can try to follow steps in the linked post above.
Sorry for late reply, but I don't know to activate Notification.
this is strange...
I renamed the MFC140U.DLL to MFC140U.DLL.OLD, the system allow me to do that, but when I try to open GOG Galaxy the error came out is the same...

I replace it and a new error come 0xc00007b.
I deleted it, and the program tell me that he couldn't find it.
so I reinstall Visual C++ 2015 Redistributable (both x86 and x64) but the file is not installed with it, so when I open the program he say that he couldn't find it.
I uninstall and reinstall GOG Galaxym but it seem he not install also that file. so it didn't work.
Post edited May 06, 2021 by DreamOfHero
avatar
DreamOfHero: I reinstall Visual C++ 2015 Redistributable (both x86 and x64) but the file is not installed with it, so when I open the program he say that he couldn't find it.
I might actually have finally figured it out: see a redistributable's official note here

Note Visual C++ 2015, 2017 and 2019 all share the same redistributable files.

For example, installing the Visual C++ 2019 redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 redistributable will not replace the newer versions of the files installed by the Visual C++ 2017 and 2019 redistributables.

This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions.
Now according to one of your previous responses
avatar
DreamOfHero: I On ly installed a free games from Steam: The singing Monster.
if the game you've referenced is My Singing Monsters, then by looking at its dependencies here, you can see that the game wants 2019 version. So your game could be actually the reason that broke your environment.
And due to you having 2019 version already installed, you can't reinstall older 2015 version, until you've uninstalled newer versions beforehand.

So I suggest following:
- uninstall all 2015, 2017, 2019 versions, starting first from newer 2019 version and then going lower versions.
- install from the note's link a combined Microsoft Visual C++ 2015-2019 Redistributable installer (first vc_redist.x86.exe, then vc_redist.x64.exe) that should cover all three versions above altogether.
Post edited May 06, 2021 by DawEdhel
avatar
DreamOfHero: I reinstall Visual C++ 2015 Redistributable (both x86 and x64) but the file is not installed with it, so when I open the program he say that he couldn't find it.
avatar
DawEdhel: I might actually have finally figured it out: see a redistributable's official note here

Note Visual C++ 2015, 2017 and 2019 all share the same redistributable files.

For example, installing the Visual C++ 2019 redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 redistributable will not replace the newer versions of the files installed by the Visual C++ 2017 and 2019 redistributables.

This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions.
avatar
DawEdhel: Now according to one of your previous responses
avatar
DreamOfHero: I On ly installed a free games from Steam: The singing Monster.
avatar
DawEdhel: if the game you've referenced is My Singing Monsters, then by looking at its dependencies here, you can see that the game wants 2019 version. So your game could be actually the reason that broke your environment.
And due to you having 2019 version already installed, you can't reinstall older 2015 version, until you've uninstalled newer versions beforehand.

So I suggest following:
- uninstall all 2015, 2017, 2019 versions, starting first from newer 2019 version and then going lower versions.
- install from the note's link a combined Microsoft Visual C++ 2015-2019 Redistributable installer (first vc_redist.x86.exe, then vc_redist.x64.exe) that should cover all three versions above altogether.
I try to install what you ask me to download from Microsoft Site, but he ask me for a CD-ROM or a USB that I haven't
Attachments:
avatar
DreamOfHero: I reinstall Visual C++ 2015 Redistributable (both x86 and x64) but the file is not installed with it, so when I open the program he say that he couldn't find it.
avatar
DawEdhel: I might actually have finally figured it out: see a redistributable's official note here

Note Visual C++ 2015, 2017 and 2019 all share the same redistributable files.

For example, installing the Visual C++ 2019 redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 redistributable will not replace the newer versions of the files installed by the Visual C++ 2017 and 2019 redistributables.

This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions.
avatar
DawEdhel: Now according to one of your previous responses
avatar
DreamOfHero: I On ly installed a free games from Steam: The singing Monster.
avatar
DawEdhel: if the game you've referenced is My Singing Monsters, then by looking at its dependencies here, you can see that the game wants 2019 version. So your game could be actually the reason that broke your environment.
And due to you having 2019 version already installed, you can't reinstall older 2015 version, until you've uninstalled newer versions beforehand.

So I suggest following:
- uninstall all 2015, 2017, 2019 versions, starting first from newer 2019 version and then going lower versions.
- install from the note's link a combined Microsoft Visual C++ 2015-2019 Redistributable installer (first vc_redist.x86.exe, then vc_redist.x64.exe) that should cover all three versions above altogether.
SOLVED!!!
This is the step to solve the missing or error of MFC140U.DLL:
- download this runtime (both x86 and x64);
- uninstall all version of VS C++ Redistributable installec on PC (version 2015, 2017 and 2019, both x86 and x64);
- download this tool from Microsoft Site;
- launch the tool that you download in the previous step;
- uninstall all VS C++ redistributable from the list of the tool;
- install the runtime that you have downloaded in the first step (both x86 and x64).

The GOG Galaxy 2.0 now work perfectly again
Thanks for your time and patience, DawEdhel
Post edited May 07, 2021 by DreamOfHero