Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 討論

Application has failed to start because .dll was not found

fbalderasintel
523 檢視
This sounds easy enough to fix but has been very perplexing. All symbols resolve. I explicitlysetthe dependency path in the calling program, and the "Addional Depency" lib is also correct. When I run the calling program, it starts, but then complains about not finding the DLL. I cannot be more explicit. So I placed the DLL in the same directory as the .exe and it runs there OK. Just wondering if there is some option or property setting that does not allow the exe to find it if its not in its own directory. I've tried both relative and absolute paths.
0 積分
2 回應
Steven_L_Intel1
523 檢視

The dependency path is of limited usefulness and I suggest not using it. DLLs should be in one of the standard places Windows will look for them, including the current directory, the directory containing the EXE, the Windows folder, the Windows System folder and folders mentioned in PATH.
fbalderasintel
523 檢視

The dependency path is of limited usefulness and I suggest not using it. DLLs should be in one of the standard places Windows will look for them, including the current directory, the directory containing the EXE, the Windows folder, the Windows System folder and folders mentioned in PATH.

OK I did not know about the limited usefulness of the dependency path. So I should make the output path
of the DLL be the path of the EXE so I dont have to copy it after each rebuild. When its installed on user PC it will be there anyway. Got it, thanks.
回覆