Can't run Foxit Reader on Wine 9.0 – mfc140u.dll error

Questions about Wine on Linux
Post Reply
Extrejoind
Newbie
Newbie
Posts: 2
Joined: Wed Apr 09, 2025 4:53 am

Can't run Foxit Reader on Wine 9.0 – mfc140u.dll error

Post by Extrejoind »

I'm trying to run Foxit Reader (latest Windows version) on Wine 9.0, using Ubuntu 22.04. The installation completes fine, but when I try to launch the app, it immediately crashes.

The terminal shows:

Code: Select all

err:module:import_dll Library mfc140u.dll not found
err:module:LdrInitializeThunk Importing dlls failed, status c0000135
So far I've tried:

Installing vcrun2015 and mfc140 using winetricks

Creating a clean wineprefix

Switching Windows version to 10 in winecfg

Still, same error. I just want to open PDFs with Foxit because it's fast and familiar. Has anyone had success running it under Wine 9.0?

Any help would be appreciated. Thanks!
Extrejoind
Newbie
Newbie
Posts: 2
Joined: Wed Apr 09, 2025 4:53 am

Re: Can't run Foxit Reader on Wine 9.0 – mfc140u.dll error

Post by Extrejoind »

No one knows how to solve this.slice master I'm really stuck.
rdepaoli
Level 1
Level 1
Posts: 9
Joined: Wed Jan 29, 2025 11:43 am

Re: Can't run Foxit Reader on Wine 9.0 – mfc140u.dll error

Post by rdepaoli »

Extrejoind wrote: Mon Apr 28, 2025 11:25 pm No one knows how to solve this.slice master I'm really stuck.
Good morning Extrejoind.

You might want to try and install other versions of vcrun, too.

Try
  • Microsoft Visual C++ 2010 (v10), plus
  • Microsoft Visual C++ 2012 (v11), plus
  • Microsoft Visual C++ 2013 (v12), plus
  • Microsoft Visual C++ 2015-2022
and see after each step, if your mfc140u issue disappeared.

Make sure to install 32-bit and 64-bit versions.

Another thought:
If you don't get anywhere, you could use a trial version of CrossOver aka cxoffice by CodeWeavers (company involved in the development of wine).
https://gitlab.winehq.org/wine/wine/-/w ... e-for-wine

They do have a number of recipes for Foxit. Try one of those and see, what runtimes they use...

I hope this helps.

Note:
I'm not affiliated with CodeWeavers, just a user of both, wine and CrossOver/cxoffice.
Post Reply