Re: Vista and reading/writing files



James Parsly wrote:
| 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?

Docs say that hwndOwner and hToken arguments of SHGetFolderPath
are normally set to NULL (zero).

In theory, you can call this API from Fortran if your compiler
supports it (In CVF and IVF, USE DFWIN, and follow Richard's
advice "isolate and document").

--
Jugoslav
___________
www.xeffort.com

Please reply to the newsgroup.
You can find my real e-mail on my home page above.
.