Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-09

Windows 10 UAC blocking freepascal/Lazarus app (solved)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luiz Americo Pereira Camara

Windows 10 was blocking a simple console application compiled with Lazarus

There were two side effects:

A UAC window appears when app is executed and gdb could not load it with the following error:
Error creating process
D:/repositories/sharemonitor/backend/UpdateInflationHistory.exe, (error 740)

I tried removing the dependencies (synapse, abbrevia) without luck

Compiled in other environment with different fpc version (2.6.4 and 3.0). Again no luck

I moved the same code to other console app and... worked.

The problem was simply the name. Changed executable name from UpdateInflationHistory to GetInflationHistory and worked

Sharing here so others do not spend precious hours with such issue

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160925/e32bb625/attachment.html>

Reply by email

José Mejuto
to Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote
The problem was simply the name. Changed executable name from UpdateInflationHistory to GetInflationHistory and worked Sharing here so others do not spend precious hours with such issue

Hello,

UAC is launched in programs with "update", "install", "patch", "setup" and possible others, strings in theri file names. Also if this strings appear in the VersionInfo fields Vendor, Company and others. There are other detections like some bytes signatures, etc.

Partially detailed information:

https://technet.microsoft.com/en-us/library/cc709628(WS.10).aspx

Reply by email