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 »

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: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Request administrator level on Windows [Lua]

Post by doublemax »

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