Hi!

This thread helps me a lot.
On Windows >= Vista I'm programming a simple updater. It needs to "run as administrator, to get the preferred rights.
Now, I use this:
Qt Code:
  1. QString doing = "runas";
  2. QString proggi = qApp->applicationDirPath()+ "/Updater.exe";
  3.  
  4. int result = (int)ShellExecute(hwnd,
  5. reinterpret_cast<const WCHAR*>(doing.utf16()),
  6. reinterpret_cast<const WCHAR*>(proggi.utf16()),
  7. NULL,
  8. NULL,
  9. SW_SHOWNORMAL);
To copy to clipboard, switch view to plain text mode 

How can you this behave with "OpenUrl" ?

Tenx

Attila