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

Does DLLIMPORT of Fortran subroutine into C# app become part of exe "Process" ?

fbalderasintel
333 Views
The use ofmixedmanaged and unmanaged code (C# and Fortran) raises some questions
that would normally be easy to explain. If I have C# exe and use DLLIMPORT to access a subroutine within a Fortran DLL, does that subroutine get loaded as part of the .exe "process". I have to think that it does
but the managed vs unmanaged complexities make me wonder.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
333 Views
The Fortran DLL you reference from C# does not get loaded until the first time it is called. At that point, any DLLs it references are also loaded.
0 Kudos
Reply