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. Advertising

  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. 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. Francesco Bochicchio
    Replies:
    6
    Views:
    468
    Thomas Heller
    Jul 4, 2003
  2. Morten
    Replies:
    1
    Views:
    124
    Dick Davies
    Nov 23, 2004
  3. Avi
    Replies:
    0
    Views:
    179
  4. Replies:
    4
    Views:
    396
    Arne Vajhøj
    Aug 20, 2012
  5. Chris_12345
    Replies:
    2
    Views:
    547
    Victor Bazarov
    Jun 27, 2012
Loading...

Share This Page