By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,035 Members | 1,388 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,035 IT Pros & Developers. It's quick & easy.

calldll for Python 2.5

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.