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

Error: The Side-by-Side configuration

babe59
Beginner
538 Views
Hello,
I work on Vista Pro with VS2005 et IV F11.051

I made a Fortran DLL that i call on a C# program. Here header of my DLL

<<<<<<<<<<<<<<< Fortran Code >>>>>>>>>>>
SUBROUTINE SIMUL(PARAM_PATH, PARAM_LENGTH)


!DEC$ ATTRIBUTES DLLEXPORT:: SIMUL
!DEC$ ATTRIBUTES ALIAS: 'SIMUL'::SIMUL


IMPLICIT NONE

CHARACTER*(*), intent(in) :: PARAM_PATH
INTEGER*4, intent(in) :: PARAM_LENGTH
<<<<<<<<<<<<<<< Fortran Code >>>>>>>>>>>

problem : If I call Fortran DLL on my computer it's ok. but if I call on WinXP PRO or 2003 Server it doesn't work
Error : "Impossible to load DLL 'dll name' this application can't start because configuration... (Exception de HRESULT : 0x800736B1) -- this is a traduction --

On dependency walker I receive this message Error: The Side-by-Side configuration information for "c:\program files\xxxx\xxx.DLL" contains errors....

Could you help me ?
DT

0 Kudos
1 Reply
Steven_L_Intel1
Employee
538 Views
Simplest solution is to change the Fortran project property Libraries > Runtime Libraries to "Multithreaded" and rebuild it. Otherwise, the target system needs the Intel Fortran redistributables installed and the Visual C++ 2005 redistributables installed.

I will note that the suggestion for changing the "Runtime libraries" property is appropriate because your DLL is not being called from Fortran code. If it were called from Fortran code you'd need the second suggestion instead.
0 Kudos
Reply