Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
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.
29285 Discussions

Is there a way to get the full path to executable at runtime?

Greynolds__Alan
Beginner
436 Views
I know the "old" GETARG(0,...) returns the executable's name but I also need its full path at runtime. Anyway to do this in IVF (even its non-standard)?

Al
0 Kudos
1 Solution
Steven_L_Intel1
Employee
436 Views
Two Win32 calls - GetModuleHandle(NULL) followed by GetModuleFileName.

View solution in original post

0 Kudos
1 Reply
Steven_L_Intel1
Employee
437 Views
Two Win32 calls - GetModuleHandle(NULL) followed by GetModuleFileName.
0 Kudos
Reply