any python wrapper to call .lib static library(ufmod.lib)?

Discussion in 'Python' started by est, Feb 16, 2008.

  1. est

    est Guest

    I want to play .XM music using Python, now I found ufmod http://ufmod.sourceforge.net

    It only provide a ufmod.lib to be compiled in C/C++/BASIC, and Python
    as a scripting language could not handle these static libraries. What
    could I do to with these .lib files?

    Cheers
     
    est, Feb 16, 2008
    #1
    1. Advertisements

  2. est schrieb:
    > I want to play .XM music using Python, now I found ufmod http://ufmod.sourceforge.net
    >
    > It only provide a ufmod.lib to be compiled in C/C++/BASIC, and Python
    > as a scripting language could not handle these static libraries. What
    > could I do to with these .lib files?


    I'm not sure if ctypes can use static libraries, but at least you should
    be able to create a dynamic library from it that you then can use using
    ctypes. Or you use Pyrex to wrap the static lib.

    Diez
     
    Diez B. Roggisch, Feb 16, 2008
    #2
    1. Advertisements

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. JFCM
    Replies:
    4
    Views:
    6,029
  2. Francesco Bochicchio
    Replies:
    6
    Views:
    679
    Thomas Heller
    Jul 4, 2003
  3. Heiko Wundram
    Replies:
    1
    Views:
    506
    Paul Rubin
    Jun 3, 2004
  4. Ricardo Palomares Martinez
    Replies:
    2
    Views:
    539
    david.karr
    Apr 28, 2007
  5. Morten
    Replies:
    1
    Views:
    225
    Dick Davies
    Nov 23, 2004
  6. Avi
    Replies:
    0
    Views:
    302
  7. Replies:
    4
    Views:
    609
    Arne Vajhøj
    Aug 20, 2012
  8. Chris_12345
    Replies:
    2
    Views:
    653
    Victor Bazarov
    Jun 27, 2012
Loading...