[Lazarus] Windows 10 UAC blocking freepascal/Lazarus app (solved)

Luiz Americo Pereira Camara luizamericop at gmail.com
Sun Sep 25 21:05:13 CEST 2016


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>


More information about the Lazarus mailing list