Re: Function References



On Jul 31, 10:47 am, "Diez B. Roggisch" <de...@xxxxxxxxxxxxx> wrote:
I take the freedom to do so as I see fit - this is usenet...

Fine, then keep beating a dead horse by replying to this thread with
things that do nobody any good. It seems like there are a lot better
way to waste time, though.

The Python/C API can get me back further without reliance on third-
party libraries than ctypes. It also isn't subject to the quirks that
ctypes is on platforms other than Windows (the target application runs
on Windows, Mac, and eventually Linux once the original distributor
has drivers for the device). I'm not even sure ctypes could load the
lib/driver the distributor packaged.

So really, I appreciate the option in ctypes, it's good stuff. But
it's not for this project.

Once again, the original question stands for anyone who has experience
with the Python/C API callbacks.
.



Relevant Pages

  • Re: convert pdf to png
    ... Using ctypes to call Ghostscript's API also works well. ... Can you give me what you did with windows in hopes that I can figure out how to do it in Linux? ... Ghostscript for quite some time has had support for being used as a library. ... and there is information about the net for calling these API functions from Visual Basic. ...
    (comp.lang.python)
  • Re: Python control of desktop properties
    ... To do this on windows you need to import ctypes (which you may need to ... download, http://starship.python.net/crew/theller/ctypes/) and win32con ... > I'm teaching Python for the first time to some high school students, ...
    (comp.lang.python)
  • Re: Function References
    ... The Python/C API can get me back further without reliance on third- ... party libraries than ctypes. ... It's not real flexible if the callback API you're using ... Ctypes can generate dynamic thunks and therefore will let you use any ...
    (comp.lang.python)
  • Re: Wrapping C API
    ... I've tried using SWIG but am not getting well in windows ... rather easy to load C DLLs and call functions therein. ...
    (comp.lang.python)
  • RE: [ctypes-users] ANN: EasyDialogs for Windows version 1.16.0
    ... >> EasyDialogs for Windows is a ctypes based emulation of the ... presses Cancel while building the argument list then they intend to ... it wouldn't have happened without ctypes! ... ctypes at this week's BayPiggies meeting in the San Francisco Bay Area. ...
    (comp.lang.python)