[Pythonmac-SIG] windll on Mac?

2011-10-01 Thread Alex Hall
Hi all, I just joined this list, so I am sorry if this is not the right place to ask. I have written an application in python, and one library I use relies on the ctypes.windll functions, specifically user32 and kernel32. I would like to use this library, but I also want to make my application cros

Re: [Pythonmac-SIG] windll on Mac?

2011-10-01 Thread Chris Barker
On 10/1/11 7:28 AM, Alex Hall wrote: I just joined this list, so I am sorry if this is not the right place to ask. I have written an application in python, and one library I use relies on the ctypes.windll functions, specifically user32 and kernel32. I would like to use this library, but I also w

Re: [Pythonmac-SIG] windll on Mac?

2011-10-01 Thread Alex Hall
You said to find which windll functions are used. As far as I can tell, here are all of them: def ActivateWindow(hWindow): KERNEL32 = ctypes.windll.KERNEL32 GetCurrentThreadId = KERNEL32.GetCurrentThreadId USER32 = ctypes.windll.USER32 AttachThreadInput = USER32.Atta