In the call to OpenProcessToken, you'll need to specify TOKEN_QUERY also.
Roger
"Gremlin" wrote in message
news:7C1FF6262D1C41509DEDE93ABBA01CFC@BELLO...
> Hello.
>
>
>
> I want to adapt the following technique into python:
> http://blogs.msdn.com/b/aaron_margosis/archive/2009/06/06/faq-ho
Hello.
I want to adapt the following technique into python:
http://blogs.msdn.com/b/aaron_margosis/archive/2009/06/06/faq-how-do-i-start
-a-program-as-the-desktop-user-from-an-elevated-app.aspx
So I started with the following code:
import win32security
import win32process
process = wi
On Wed, Apr 13, 2011 at 11:55 PM, Mark Hammond wrote:
> Yeah - this is a bug in the general DWORD handling in SWIG generated files.
> I'm not sure how to tell SWIG to use a different format char, but I have
> managed to work around it in other ways which is good for the general case.
>
> However,
On 14/04/2011 4:55 PM, Amaury Forgeot d'Arc wrote:
Was it ever considered using a newer version of Swig?
Sadly some hacks were made to SWIG to support some of the COM objects
and the source to those changes were lost many years ago - this needs to
be revisited before we can upgrade. I haven'