>I want do this:
>
>run the Application,
>get the exclusive access to a directory reserved to the processId only.
>
>In other words, until application run,
>only the application can use the files of the folder.
>
>It is like to open a file in rw exclusive mode.
>
>Exists a API for declare this ?
>
>Possible in WXP with VFP?
>
>Possible in WinFS?
>
>thanks
>
Fabio,
Rights are granted under Win32 at the user level, not the application level.
One solution might be to limit the access to computer administrators only. Then you could set up a folder that only adminstrators could access. You might search the MSDN Library on "RunAs" for a potential solution.
The downside of this is if the user has adminstrative rights, then he/she has access to the folder.
George
Ubi caritas et amor, deus ibi est