Hi, Dmitry.
>I know nothing about Citrix so my question is very naive but I need to clarify something.
>
>In my VFP application I have a routine at the top of the application where the program opens a .vcx file (mysettings.vcx) where one of the setting indicates if the program is single user or multi-user.
>
>Then if the program is single user, the application tries to open a semaphore file (dummy text file) as following:
>
>
>hInUseSemaphore = fopen( cSemaFile, iif( lMultiUserLicense, 0, 2 ))
>
>if hInUseSemaphore = -1 and !lMultiUserLicense
> =messagebox("Cannot load program.")
> return .F.
>endif
>
>
>Will the above work if a user is loading the application via Citrix?
As far as the file is in a server disk, it would work as usual, as once the first user locked it, the second istance won't.
Hope this helps,