Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29277 Discussions

Accessing Paths found in the Registry

brian_hanley
Beginner
613 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
613 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
613 Views
Thank you, Mr. Dujic :-)
0 Kudos
Reply