Vista and reading/writing files



Under Vista, there's some pressure to make you conform to certain
'standard' locations for executables, common files, and user files.

In VB6 I can get the appropriate folder names using an API call to
SHGetFolderPath. Not sure how I'd do this in Fortran, since it
requires a windows handle as one of the arguments.

What's a good way to handle getting these directory names?




.