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.
29280 Discussions

Accessing Paths found in the Registry

brian_hanley
Beginner
617 Views
I'm new to Intel FORTRAN (using 9.1). Is there a way to access paths found in the Windows registry? Asimple call would be great :-)...sorry if this is a no brainer
0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
617 Views
Yes, either USE IFWIN, and use the functions outlined here (at the minimum you need RegOpenKeyEx, RegCloseKey, RegQueryValueEx and RegSetValueEx), or use the attached wrappers I wrote (which simplify the calls, allow Fortran-style strings to be used, etc.). The documentation for the wrappers can be found in the .chm file here, while sample usage is here.
0 Kudos
brian_hanley
Beginner
617 Views
Thank you, Mr. Dujic :-)
0 Kudos
Reply