Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>@<a href="https://stackoverflow.com/questions/29284/windows-vista-unable-to-load-dll-xdll-invalid-access-to-memory-location-dllnotf#29400">Martín</a></p> <p>The reason you were not getting the UAC prompt is because UAC can only change how a process is <strong>started</strong>, once the process is running it must stay at the same elevation level. The UAC will prompt will happen if:</p> <ul> <li>Vista thinks it's an installer (<a href="http://msdn.microsoft.com/en-us/library/aa905330.aspx#wvduac_topic3" rel="nofollow noreferrer">lots of rules here</a>, the simplest one is if it's called "setup.exe"), </li> <li>If it's flagged as "Run as Administrator" (you can edit this by changing the properties of the shortcut or the exe), or </li> <li>If the exe contains a manifest requesting admin privileges.</li> </ul> <p>The first two options are workarounds for 'legacy' applications that were around before UAC, the correct way to do it for new applications is to <a href="http://msdn.microsoft.com/en-us/library/bb756929.aspx" rel="nofollow noreferrer">embed a manifest resource</a> asking for the privileges that you need.</p> <p>Some program, such as <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" rel="nofollow noreferrer">Process Explorer</a> appear to elevate a running process (when you choose "Show details for all process" in the file menu in this case) but what they really do is start a new instance, and it's that new instance that gets elevated - not the one that was originally running. This is the recommend way of doing it if only some parts of your application need elevation (e.g. a special 'admin options' dialog).</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload