cancel
Showing results for 
Search instead for 
Did you mean: 

I'm facing an issue while running Motor Profile for P -NUCLEO-IHM002. It is saying that, mfc140.dll is not found. I'm using X-CUBE-MC SDK 6.0 Version. Please help regarding this issue.

ASinh.5
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @ASinh.5​,

The file MFC140.DLL is part d the Visual C++ Redistributable for Visual Studio 2015.

Try to download and install the appropriate Microsoft MSVC Redistributable​ package, this may resolve these errors.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

4 REPLIES 4
Imen.D
ST Employee

Hello @ASinh.5​,

The file MFC140.DLL is part d the Visual C++ Redistributable for Visual Studio 2015.

Try to download and install the appropriate Microsoft MSVC Redistributable​ package, this may resolve these errors.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

As Imen says, you need the redistributables, in dealing with assorted Win10 and Win11 installation issues I found the following to save a lot of guessing about interdependencies, where you'd fix one thing, for another to pop up.

https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Piranha
Chief II

At last the Microsoft has also made a easy to use site for all of the redistributable downloads:

https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist

In this particular case the VS2015 runtime is necessary, but it's recommended to just install the 2015-2022 unified package.

ASinh.5
Associate

Thank you for all your replies, They really helped me to resolve the issue.