Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

calldll for Python 2.5

6 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Larry Bates

ungelesen,
16.05.2007, 11:35:1016.05.07
an
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/Cookbook/Python/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

Thomas Heller

ungelesen,
16.05.2007, 12:16:4516.05.07
an pytho...@python.org
Larry Bates schrieb:

Can't you write a calldll replacement with ctypes?


Thomas

Robin Becker

ungelesen,
16.05.2007, 12:45:0716.05.07
an pytho...@python.org
Thomas Heller wrote:
> Larry Bates schrieb:
> 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

0 neue Nachrichten