ctypes and cygwin

Discussion in 'Python' started by wander.lairson, Jan 11, 2011.

  1. Hello,

    I was trying to use the libusb 1.0 with cygwin environments and
    noticed that this library uses stdcall calling convention, but ctypes
    does not have WinDLL object for cygwin. As far as I know, libusb
    builds with stdcall calling convention on cygwin by default. My
    question is if ctypes should have WinDLL in cygwin or cygwin, as a
    kind of emulation of Unix, considers everything to be cdecl and libusb
    guys should change their default build behavior in cygwin.

    Not sure if this is the right place to ask this question, but if
    ctypes guy(s) took out WinDLL from cygwin, I believe he (they) had a
    good reason to do so...

    --
    Best Regards,
    Wander Lairson Costa
    LCoN - Laboratório de Computação Natural - Natural Computing Laboratory
    (http://www.mackenzie.com.br/lcon.html)
    Programa de Pós-Graduação em Engenharia Elétrica (PPGEE)
    Faculdade de Computação e Informática (FCI)
    Universidade Presbiteriana Mackenzie - SP - Brazil
     
    wander.lairson, Jan 11, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    459
  2. Replies:
    0
    Views:
    434
  3. WELCOME to

    , Sep 3, 2003, in forum: Python
    Replies:
    1
    Views:
    514
    Robin Becker
    Sep 5, 2003
  4. Replies:
    0
    Views:
    416
  5. kiorky

    ctypes / cygwin / django+geos

    kiorky, Dec 10, 2009, in forum: Python
    Replies:
    0
    Views:
    357
    kiorky
    Dec 10, 2009
Loading...

Share This Page