I have searched and wondered how certain programs ask you to let them have administrator permissions when you start them up normally but haven't really found any good answer, I suppose they use something in Windows API but I haven't found anything that would help me.
Asked
Active
Viewed 620 times
0
-
2`
-
2@RichardCritten [`autoElevate`](https://stackoverflow.com/a/24965735/6401656) this is another thing. but here need exactly `
` – RbMm Nov 18 '21 at 19:51 -
Is there a way to add a manifest file to a DevC++ project? – Radioactive Epic Face Nov 18 '21 at 20:24
-
1different ways exist. maifest this is resourse. with `RT_MANIFEST` type and `CREATEPROCESS_MANIFEST_RESOURCE_ID` name for exe. so write manifest text file and include it in *.rc* as `CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "my_manifest"` – RbMm Nov 18 '21 at 20:27
-
Where `CREATEPROCESS_MANIFEST_RESOURCE_ID` is defined as 1, and `RT_MANIFEST` is defined as 24 – Remy Lebeau Nov 18 '21 at 21:35