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

E

est

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
 
D

Diez B. Roggisch

est said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top