Re: [ctypes-users] ctypes reference book
Brought to you by:
theller
From: Rob G. <rg...@hi...> - 2016-11-28 18:53:02
|
Michael, I think you may have gotten wrapped around the axle a bit. USER32.DLL is one of the core DLLs of the Windows system, been around since at least Windows 3.0. When you talk about windll.user32, that's just ctypes accessing that library, and looks the same as the ctypes interface to any library. That said, if I recall correctly, most what happens in there is GUI management. If that's what you're trying to do, you almost certainly want to use one of the many GUI toolkits available for Python rather than try to bang against the DLL yourself. On November 28, 2016 8:06:33 AM GMT-07:00, "Diez B. Roggisch" <de...@we...> wrote: >I don’t understand your inquiry. > >Everything relevant to ctypes is in the first link of yours. What are >you missing there? > >Your second link talks about a specific windows DLL and it’s >functionality. Do you expect ctypes to contain documentation for >*arbirtrary* libraries out there? That’s quite impossible. You will >need to look at the DLL in question (or better it’s documentation), and >learn from that how to use it through ctypes. > >Diez > >> On 28 Nov 2016, at 03:33, Michael C <mys...@gm...> >wrote: >> >> Sorry guys, but I can't find the reference book of ctypes, and I am >looking for everythign there is under ctype.user32 >> >> I have this already >> >> https://docs.python.org/3/library/ctypes.html#ctypes.WinDLL ><https://docs.python.org/3/library/ctypes.html#ctypes.WinDLL> >> >> the best I can find to what I am describing to you is this: >> >> >http://nullege.com/codes/show/src@m@o@mozharness-HEAD@external_tools@mouse_and_screen_resolution.py/115/ctypes.windll.user32.GetCursorPos ><http://nullege.com/codes/show/src@m@o@mozharness-HEAD@external_tools@mouse_and_screen_resolution.py/115/ctypes.windll.user32.GetCursorPos> >> >> >> >> I need everything there is to know about the ctypes. Yes I googled >for it. >> >> thanks! >> >------------------------------------------------------------------------------ >> _______________________________________________ >> ctypes-users mailing list >> cty...@li... >> https://lists.sourceforge.net/lists/listinfo/ctypes-users > > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------------ > > >------------------------------------------------------------------------ > >_______________________________________________ >ctypes-users mailing list >cty...@li... >https://lists.sourceforge.net/lists/listinfo/ctypes-users -- Sent from my Android device with K-9 Mail. Please excuse my brevity. |