Recent

Author Topic: [SOLVED] Run as administrator  (Read 1320 times)

pcurtis

  • Hero Member
  • *****
  • Posts: 951
[SOLVED] Run as administrator
« on: February 06, 2022, 05:32:55 pm »
How can I run a program as administrator? (Of course the system must ask if I want to allow it).
« Last Edit: February 06, 2022, 06:06:19 pm by pcurtis »
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2

rvk

  • Hero Member
  • *****
  • Posts: 6989
Re: Run as administrator
« Reply #1 on: February 06, 2022, 06:00:42 pm »
What exec command are you using now?

Maybe look at: https://forum.lazarus.freepascal.org/index.php?topic=48554.0

pcurtis

  • Hero Member
  • *****
  • Posts: 951
Re: Run as administrator
« Reply #2 on: February 06, 2022, 06:05:27 pm »
it's ok. i found it in project options.
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2

 

TinyPortal © 2005-2018