Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

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

fbalderasintel
450 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
450 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