I want to make an application capable of running from a PDC logon script. I want to support both global and personal configuration files.
I am thinking the program will be invoked as:
\\server\users\foobar.exe \\servers\users\foobar.ini
Would GetPrivateProfileString support using a UNC to specify the file you want to work with? It would do no good to discover the program is on the PDC's C: when that will not be the user's C:. If this function is not network-aware, I will need to know now so I can plan a different way of getting the global configuration data.
I am thinking of the personal configuration being in Documents and Settings. This could be either on C: or in a roaming profile on the PDC, depending on how the domain is set up. Would GetPrivateProfileString be able to work with either?
I am thinking the program will be invoked as:
\\server\users\foobar.exe \\servers\users\foobar.ini
Would GetPrivateProfileString support using a UNC to specify the file you want to work with? It would do no good to discover the program is on the PDC's C: when that will not be the user's C:. If this function is not network-aware, I will need to know now so I can plan a different way of getting the global configuration data.
I am thinking of the personal configuration being in Documents and Settings. This could be either on C: or in a roaming profile on the PDC, depending on how the domain is set up. Would GetPrivateProfileString be able to work with either?
Comment