473,387 Members | 1,892 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,387 software developers and data experts.

calldll for Python 2.5

I've implemented several libraries using calldll (originally on
Python 2.2) and posted recipe on ASPN for a general implementation
http://aspn.activestate.com/ASPN/Coo.../Recipe/146847.
If I were doing it over again today, I would use ctypes, but I
have thousands of lines of library code that are dependent on
calldll. Anyone out there have a version that works with Python
2.5 so I don't have to a massive rewrite?

Thanks in advance,
Larry
May 16 '07 #1
2 1641
Larry Bates schrieb:
I've implemented several libraries using calldll (originally on
Python 2.2) and posted recipe on ASPN for a general implementation
http://aspn.activestate.com/ASPN/Coo.../Recipe/146847.
If I were doing it over again today, I would use ctypes, but I
have thousands of lines of library code that are dependent on
calldll. Anyone out there have a version that works with Python
2.5 so I don't have to a massive rewrite?
Can't you write a calldll replacement with ctypes?
Thomas

May 16 '07 #2
Thomas Heller wrote:
Larry Bates schrieb:
>I've implemented several libraries using calldll (originally on
Python 2.2) and posted recipe on ASPN for a general implementation
http://aspn.activestate.com/ASPN/Coo.../Recipe/146847.
If I were doing it over again today, I would use ctypes, but I
have thousands of lines of library code that are dependent on
calldll. Anyone out there have a version that works with Python
2.5 so I don't have to a massive rewrite?

Can't you write a calldll replacement with ctypes?
Thomas
I just tried and the latest calldll compiles pretty much out of the box and so I
sent him the pyd. Just more legacy code; eventually calldll won't compile and
then the conversion will be forced anyhow.
--
Robin Becker

May 16 '07 #3

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

Similar topics

0
by: Jerry Pine | last post by:
I'm using the Blender game engine and it only supports python 2.0. I used calldll in python 2.1 separately and it works great for my I/O calls using a windows dll. I need calldll.pyd for python...
1
by: Emile van Sebille | last post by:
QOTW: "If we get 2.3.3c1 out in early December, we could release 2.3.3 final before the end of the year, and start 2004 with a 100% bug-free codebase <wink>." -- Tim Peters "cjOr proWe vbCould...
2
by: Todd Gardner | last post by:
Hello all, Pardon my ignorance here. I would like to talk to someone that has had success in calling ddls in Windows NT/2000/XP. I am wondering where to dload any of these packages? Google...
1
by: Larry Bates | last post by:
Does anyone have calldll.pyd compiled for Python 2.4 for Windows? I've made extensive use of it and haven't had the time to go back and convert everything to ctypes. I'd like to upgrade from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.