473,320 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

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
Feb 16 '08 #1
1 1987
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
Feb 16 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: tom | last post by:
Ok i realize some will scoff at this question ... but i've never created dlls b4. always static libs because generally i need speed in num theory/cryptographic uses. I created a static lib of...
3
by: Zeljko A. | last post by:
Hello to all... So... I have a 'little' problem with the GAlib library of genetic algorithm components. It is as follows: the GAlib package is given as a set of .c and ..h files and an user has...
17
by: Ralph | last post by:
Hi all, Recently I have tried to create a static lib using MS VC++. The following are some of the excerpt of my codes: ********* MyFirstStaticLib.c ******************* #include...
4
by: Andre | last post by:
Hi, I have a static Lib and I want to use it in C#. So, I tried to wrap these functions in a DLL (not in a class) and use . But this doesn't work. Is it possible to wrap this in a DLL not...
1
by: Bruno van Dooren | last post by:
Hi, i am using a third party static library (.lib) that wraps a class interface around an old C-style dll. in the static library they use the STL for some stuff i don't know about. in my own...
5
by: info | last post by:
Hi! Please be patient with a newbie... I use DevC++. I've found and compiled succefully various openGL examples. Before build the application, I link the project with static libs, like, in...
2
by: mel olonsky | last post by:
Hi, I have a very small HelloWorld application. Then I need one class from a huge vector calculation static library. void main() { cout >"hello"; CVector myvec;
2
by: Bruno Rezende | last post by:
Hi, I think I've broken my python installation (don't know how). All the packages that are under 'lib' in python installation doesn't work the way expected: Traceback (most recent call last):...
0
by: tvnaidu | last post by:
I have 3 source files called xyz1.c xyz2.c xyz3.c, also include directory parallel to these files, I need to compile them and create a static lib with this command, not working, any issue? gcc -g...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.