- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I created a Fortran DLL to use with a Visual Basic project. Now I would like to use the same Fortran DLL in a Fortran console application. The DLL project creates a .lib file. I was wondering if I can use this .lib file and link it to my console application as if it was generated from a static library project. In other words, do the .lib files created through a DLL project and a static library project have the same format?
Thanks for any help,
Jon
I created a Fortran DLL to use with a Visual Basic project. Now I would like to use the same Fortran DLL in a Fortran console application. The DLL project creates a .lib file. I was wondering if I can use this .lib file and link it to my console application as if it was generated from a static library project. In other words, do the .lib files created through a DLL project and a static library project have the same format?
Thanks for any help,
Jon
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
They are used the same way, though the contents differ. The one from a DLL build is an "export" (or variously "import") library that provides the linker with information on the entry points in the DLL and the DLL name - but not the actual code.
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