- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I have a project which creates an EXE which links in export libraries for separately built DLLs. When I debug this EXE it needs to know where the DLLs are located.
At the moment I have to add the DLL directory to the path before I start Visual Studio or copy the DLLs into my Working directory, neither of which option I like.
Is it possible to set the DLL directory in the Intel Fortran project file, so I can use them where they are built without copying them locally? I see VC++ has this functionality, but I can't see it with Intel Visual Fortran.
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Where do you see this option in Visual C++? Are you referring to the Debugging > Environment property? You can do exactly the same thing in a Fortran project - set that property to:
PATH=path-to-your-dlls%PATH%
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Steve, just below Debugging in the project properties page, see below. I didn't know how to use the Debugging > Environment property. But I tried what you say and it works thanks.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I don't think those C++ options don't do what you're asking for, but I'm not sure. They specify the environment for build tools, and Intel Fortran has similar options under Tools > Options > Intel Composer XE > Visual Fortran > Compilers. They don't affect the environment when executing programs.
That said, it's interesting that Microsoft has added project-specific properties for these. I will ask our IDE team to look at it and see if it makes sense to do something similar for Fortran.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
OK thanks Steve. I'm not sure what C++ those options are for either, I just thought they might be what I want.
Adrian
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
If you look at the description on the property page for Executable Directories, it says, "Path to use when searching for executables while building a VC++ project." As I wrote above, this doesn't affect the application execution environment.

- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite