Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Citrix and VFP Application
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01047193
Message ID:
01047220
Vues:
10
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   && Single User Ver
>   =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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform