LDC2 compiling executable requiring elevated privileges?

Adam D. Ruppe destructionator at gmail.com
Mon Oct 15 11:58:35 UTC 2018


On Monday, 15 October 2018 at 07:23:07 UTC, Laurent Tréguier 
wrote:
> If it's about old programs, then Windows should apply their 
> hacks only for old executables.

It kinda does - this only applies to 32 bit exes without a 
manifest resource. If you compile with -m64, it will go away, or 
if you add a manifest file (which is recommended for all new 
programs, just it isn't as trivial with D than it is with like 
C#. Though it isn't hard to run a resource compiler on D programs 
too).

Just aside from stuff like that, there is no way to tell if it is 
a new or and old program.


More information about the Digitalmars-d mailing list