- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does Compaq Digital Fortran provide a why to create a DLL using statically linked Fortran libraries? In other words, can I create a stand-alone DLL which does not require the DVF runtime libraries? I really do not want the headache of distributing both the DLL and runtime libraries.
Thanks,
John C.
Thanks,
John C.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You CAN do this - all you have to do is go to the Fortran..Libraries option and change the Run-Time Libraries setting from DLL to Static. We recommend against this if your DLL will be called from a Visual Fortran or Visual C/C++ main program. If it's being called from VB, Delphi, etc., then it's ok.
The reason for this is that you want to avoid having two copies of the run-time libraries in your executing application.
By the way, the name of the product is Compaq Visual Fortran. (And sometime next year it will be Intel Visual Fortran!)
Steve
The reason for this is that you want to avoid having two copies of the run-time libraries in your executing application.
By the way, the name of the product is Compaq Visual Fortran. (And sometime next year it will be Intel Visual Fortran!)
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried to use Static instead of DLL in the Run-Time Libraries panel. But, when I call the DLL from a front-end in Delphi it does not run. I get the following message:
"Initialization of the program not successful (0xc000007b). Ok to stop the program.".
Of course, when I use the option "DLL", the initialization is correct and the front-end runs normally. Why?
Thanks
Jean-Luc
"Initialization of the program not successful (0xc000007b). Ok to stop the program.".
Of course, when I use the option "DLL", the initialization is correct and the front-end runs normally. Why?
Thanks
Jean-Luc
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