- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have an application that needs to optionally use Fortran DLLs. That is, it needs to test for their existence, and run one way of they are present and a different way if they are absent. In my case, the DLLs would contain classified code that could be deleted to produce an unclassified version of a program.
The standard behavior of CVF 6.5 is to crash if all DLLs cannot be located at startup. How can I create "optional" DLLs for my code?
Thanks
Steve
I have an application that needs to optionally use Fortran DLLs. That is, it needs to test for their existence, and run one way of they are present and a different way if they are absent. In my case, the DLLs would contain classified code that could be deleted to produce an unclassified version of a program.
The standard behavior of CVF 6.5 is to crash if all DLLs cannot be located at startup. How can I create "optional" DLLs for my code?
Thanks
Steve
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Didn't I answer this same question a few days ago? Oh, yes, I did...
The "standard behavior" you note is of Windows - CVF has nothing to do with it.
What you want is to use the Win32 API routines LoadLibrary and GetProcAddress. CVF provides a sample DLLLOADEXP1 that demonstrates this.
Steve
The "standard behavior" you note is of Windows - CVF has nothing to do with it.
What you want is to use the Win32 API routines LoadLibrary and GetProcAddress. CVF provides a sample DLLLOADEXP1 that demonstrates this.
Steve

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