How to determine what invokes User Access Control restrictions?
- by MX4399
In a Delphi app intended to build an internet software update service for my software, the Windows 7 UAC system requests authorization from the user to run the exe.The following possible contentious/risk areas exist in the code:
A named pipe server is created for communications
TCP is used for FTP and HTTP
SHGetSpecialFolderPath api call is used
Before these items where added UAC did not activate, removing each in turn including all unit reference and then ending with the bare bones exe still causes the UAC event - so its not possible say what is causing it. On top of this Delphi 2007 now requires being launced as an administrator to launcg a debugging process for the app.
Question 1 : How can I see what is causing this besides starting from scratch in a new exe - IOW is there a log somewhere I can check
Question 2 : Will using a signed exe using authenticode still cause the UAC alert to show