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