Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PM on new Win 10 PC
Message
De
20/01/2019 08:32:35
 
 
À
20/01/2019 08:21:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01665495
Message ID:
01665567
Vues:
74
>>>But you still need that elevator to start from.
>>Yes, this looks definitely like a dead end.
>
>You give up too easily. There are several ways to launch processes with elevation mechanically / programmatically:
>
>https://superuser.com/questions/42537/is-there-any-sudo-command-for-windows
>
>
runas /noprofile /user:Administrator cmd
That's not the point. I can build a VFP executable that must be ran as administrator, regardless of how it is launched. The problem is that to build a VFP app/exe/dll you must be inside the VFP IDE. And to build a OLEPUBLIC class, the VFP IDE itself must have been launched as administrator. So, back to square one.
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform