Unable to load DLL 'mclmcrrt9_0.dll'

179 views (last 30 days)
rob
rob on 10 Oct 2016
Commented: Philipp Gun on 22 Nov 2021
The full error is:
A first chance exception of type 'System.DllNotFoundException' occurred in MWArray.dll
Additional information: Unable to load DLL 'mclmcrrt9_0.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I recently migrated to 2014b x64 from 2014b x86 and this is the first time running in 64 bit. I complied the DLL in the MATLAB Compiler GUI which is used by my VB.net app. The VB.net app compiles without warnings.
I only have one version of matlab installed (2014b x64) and today I also installed the MCR v8.4 to try in vein to solve this problem:
I don't have 'mclmcrrt9_0.dll' anywhere on my machine. I do have "mclmcrrt8_4.dll" located in the directory "C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\runtime\win64".
What gives?

Answers (1)

ammar mohamed
ammar mohamed on 21 Jun 2017
are you solve this problem because i have the same problem
  3 Comments
Verdier Assoume Mba
Verdier Assoume Mba on 8 Mar 2021
I had the same issue. 2 runtimes versions was installed on my computer. Just go to variable environment (remove the old ones in both PATH environment variables (user local variables and system variables) on Windows, restart prompt to make sure it takes the new settings)
Philipp Gun
Philipp Gun on 22 Nov 2021
Thank you very much.
I removed this line from app.config and it fixed the problem if i remember correctly: oldVersion="2.14.1.0" newVersion="2.15.1.0"/
This fixed my problem!!

Sign in to comment.

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!