Autor Beitrag
Seven of Nine
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 132
Erhaltene Danke: 1

Win XP, Win Vista HomePro
Delphi 2009
BeitragVerfasst: So 19.07.09 07:30 
Der Thread-Tietel ist die Frage
-> Lässt sich innerhalb der Delphi IDE eine eigene Applikation "als Admin" compilieren/starten?
wenn Ja, wie?

Danke & Gruß
Martin
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 19.07.09 08:02 
Starte einfach Delphi als Admin. Wenn ein Adminprozess einen anderen startet, hat der auch Adminrechte.

Um beim Start Adminrechte anzufordern kannst du ein entsprechendes Manifest einkompilieren.
Seven of Nine Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 132
Erhaltene Danke: 1

Win XP, Win Vista HomePro
Delphi 2009
BeitragVerfasst: So 19.07.09 09:41 
Danke für die wie so oft kompetente und "kurz & knackige" Antwort
so einfach kann's sein ;) In der Doku fand ich natürlich nichts drüber...

lG Martin

PS: die benötigten Rechte per Manifest (als Resource) vorzuschreiben ist ja in einem anderen Thread hier im Board bestens erklärt.