If I start a programm by Process.Start() on windows 8, it becomes a higher integrity level than starting the same from the desktop or explorer.
I noticed this, because drag and drop operations from explorer to the programm window are blocked suddenly.
I get the issue on another pc's, but only with Win8 (and up I think). My dev system is running on Win7 for some reasons, so I can't debug it.
The 1st exe is startet from desktop, and DragEnter works fine. Then, it starts a 2nd exe (then 1st exe exits), and the 2nd restarts the 1st exe after update it. Thereafter, the 1st exe no more receives DragEnter event. But, after exit and starting from desktop, DragEnter will work again.
Note:
With the code from
A Quick-Start Guide of Process Mandatory Level Checking and Self-elevation under UAC I figured out, that the integrity level is changed from Medium to High.
What is going wrong?
Process p = new Process();
p.StartInfo.FileName = fileName;
p.StartInfo.Arguments = arguments;
p.Start();
There are no operations performed to change the integrity level in both executables.