Re: [python-win32] Problem in install Distutils/python-sybase-0.39

2009-06-02 Thread Gerdus van Zyl
Well that's a problem with the sybase module itself. So try asking on the relevant mailing list or forum/ stackoverflow . Also just noticed you are on linux while this is a python on windows list, so it might not be the most helpful. Just off the top of my head try putting the sybase headers in an

Re: [python-win32] how to use CreateProcessWithLogonW

2009-06-02 Thread Emin.shopper Martinian.shopper
On Mon, Jun 1, 2009 at 1:32 PM, Tim Roberts t...@probo.com wrote: Emin.shopper Martinian.shopper wrote: Dear Experts, Can someone provide an example of how to use CreateProcessWithLogonW? It's really just a combination of LogonUser and CreateProcess. Right, the problem is that I don't see

Re: [python-win32] how to use CreateProcessWithLogonW

2009-06-02 Thread Tim Roberts
Emin.shopper Martinian.shopper wrote: On Mon, Jun 1, 2009 at 1:32 PM, Tim Roberts t...@probo.com wrote: Emin.shopper Martinian.shopper wrote: Dear Experts, Can someone provide an example of how to use CreateProcessWithLogonW? It's really just a combination of LogonUser and

Re: [python-win32] how to use CreateProcessWithLogonW

2009-06-02 Thread Mario Alejandro Vilas Jerez
How about this? import ctypes NULL = 0 TRUE = 1 FALSE = 0 INVALID_HANDLE_VALUE = -1 WORD = ctypes.c_ushort DWORD = ctypes.c_uint LPSTR = ctypes.c_char_p LPBYTE = LPSTR HANDLE = DWORD # typedef struct _PROCESS_INFORMATION { # HANDLE hProcess; # HANDLE hThread; # DWORD