Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PM on new Win 10 PC
Message
From
20/01/2019 08:32:35
 
 
To
20/01/2019 08:21:40
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01665495
Message ID:
01665567
Views:
73
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform