Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29240 Discussions

Compatability problems with libifcoremd.dll

Teus_v_
Beginner
604 Views
I am experiencing the following problem:

I have built a Fortran COM-server DLL (FluidProp) to calculate thermodynamic properties of state. It works fine for quite a large number of COM-clients, as there are programming environments like MS VC++, MS VB, Borland C++, multi purpose math software like MS Excel and Maple and our own software.

A couple of our users are using The Mathworks Matlab/Simulink as a client for our COM server. It works perfectly with all releases from 6.5 till 7.04. However there is a problem with the latest release Matlab, release 2006a. It fails to create the COM-server (Server Creation Failed: A dynamic link library (DLL) initialization routine fail).

I discovered that this latest release Matlab is using the file libifcoremd.dll (9.0.101.101) in its own directory, while FluidProp is also using libifcoremd.dll in its own working directory, but a different, a newer version (9.1.105.105). As soon as I replace the Matlab-libifcoremd.dll by the FluidProp-libifcoremd.dll, then Matlab 2006a works perfectly, at least, with FluidProp.

The problem with this solution is, of course, that I do not know how it effects the proper functioning of the rest of Matlab. Furthermore I do not want to bother my users of FluidProp to "modify" their Matlab installation. So, this is not such a good solution to my problem, albeit it indicates the source of the problem.

Does anyone know how to handle this problem? I would be very grateful with any help.

Teus van der Stelt
Research associate
Process & Energy Department
Delft University of Technology
0 Kudos
1 Reply
Steven_L_Intel1
Employee
604 Views
It should always work to replace an older version of libifcoremd.dll with a newer one. This is the proper solution for you.
0 Kudos
Reply