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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • est

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

    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
  • Diez B. Roggisch

    #2
    Re: any python wrapper to call .lib static library(ufmod.l ib)?

    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

    Comment

    Working...