- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page