- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am attempting to link an Intel Fortranprogram to aC++.dll using the following method
project properties:
-Configuration Properties
-Linker
-Input
Additional Dependancies =
My problem is that the .lib file is not located in the same folder as the .dll.
Is it possible to link to this .dll without moving either of the files and what additional steps would I have to take?
I am attempting to link an Intel Fortranprogram to aC++.dll using the following method
project properties:
-Configuration Properties
-Linker
-Input
Additional Dependancies =
My problem is that the .lib file is not located in the same folder as the .dll.
Is it possible to link to this .dll without moving either of the files and what additional steps would I have to take?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Microsoft linker does not use the DLL. Therefore, only the .LIB file needs to be in a known location.
After linking, in order to run your .EXE you need to have the DLL accessible through the PATH variable or through a setting in your project.
After linking, in order to run your .EXE you need to have the DLL accessible through the PATH variable or through a setting in your project.

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