Tremorblue
Programmer
Using WritePrivateProfileString to setup and ini file.
It can be used by users or administrator on a PC.
If the administrator uses it first then it locks the file out because of access rights.
If I check for fileExists I could write the file with access rights to all before calling WritePrivateProfileString.
My question if how could I create an empty file and give everyone access rights to use it ?
It can be used by users or administrator on a PC.
If the administrator uses it first then it locks the file out because of access rights.
If I check for fileExists I could write the file with access rights to all before calling WritePrivateProfileString.
My question if how could I create an empty file and give everyone access rights to use it ?