Request administrator level on Windows [Lua]

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
User avatar
DoctorDavid
In need of some credit
In need of some credit
Posts: 6
Joined: Mon Nov 21, 2016 6:43 pm

Request administrator level on Windows [Lua]

Post by DoctorDavid » Wed Nov 30, 2016 8:45 pm

So I've got yet another question, this time I'm trying to get administrator level via a Lua application. I couldn't find anything online, have you got any ideas?

User avatar
doublemax
Moderator
Moderator
Posts: 13990
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Request administrator level on Windows [Lua]

Post by doublemax » Thu Dec 01, 2016 12:55 am

There is nothing for this in wxWidgets itself. And i don't know if Lua gives access to lowlevel Windows API. In any case, these articles show what needs to be done:

https://www.codeproject.com/articles/66 ... -level-che
https://www.codeproject.com/articles/32 ... ng-runtime
Use the source, Luke!

Post Reply