>Many thanks, I will look into those ideas and let you know.
>
Roy,
Just one more thought. The following is from the Platform SDK connected with GetProfileString():
"Windows NT/2000: Calls to profile functions may be mapped to the registry instead of to the initialization files. This mapping occurs when the initialization file and section are specified in the registry under the following keys:
HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows NT\CurrentVersion\IniFileMapping
When the operation has been mapped, the GetProfileString function retrieves information from the registry, not from the initialization file; the change in the storage location has no effect on the function's behavior."
It may very well be that the information you desire may be mapped to registry entries. If you haven't tried using the methods that worked before under previous versions of Windows, I'd suggest that you do so.
George
Ubi caritas et amor, deus ibi est