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
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to