Re: [python-win32] Regarding Licence

2022-06-22 Thread Mark Hammond
Use is royalty free and you don't need permission - good luck with your project. Mark On 23/06/2022 4:12 pm, Nithyashree wrote: Hi, I would like to use pywin32 Api for my project. Is this royalty free? Do I need prior permissions or is there anything of that sort? I saw the Licence in GitHub

[python-win32] Regarding Licence

2022-06-22 Thread Nithyashree
Hi, I would like to use pywin32 Api for my project. Is this royalty free? Do I need prior permissions or is there anything of that sort? I saw the Licence in GitHub but didn't understand. Just wanted to know if this licence is freeware and the API can be used. Thanks. __

Re: [python-win32] Need a value from pywin32

2022-06-22 Thread Steven Manross
We have a winner! Huge thanks from me even though I wasn’t the OP because I've wanted to know how to do this for a while and just started to get my feet wet in this arena!!! I now have a VERY GOOD EXAMPLE of how to start looking at doing a complex task like this with all the nested references.

Re: [python-win32] Need a value from pywin32

2022-06-22 Thread Eryk Sun
On 6/21/22, Steven Manross wrote: > > class WinStationInformation(ctypes.Structure): > __fields__ = [ > ('ConnectState', ctypes.c_long), > ('WinStationName', ctypes.wintypes.WCHAR), > ('LogonId', ctypes.c_ulong), > ('ConnectTime', ctypes.wintypes.LARGE_INTEGER),

Re: [python-win32] Need a value from pywin32

2022-06-22 Thread Steven Manross
Thanks a lot for the help!!! This is no longer Excepting... But the Result is 0 and there doesn't seem to be any data in the Buf structure or indication that there were results in RtnLen... I get to debug this more.. YAY!!! Steven -Original Message- From: python-win32 On Behalf Of