Using swig to use an existing dll/library
Chris Lambacher
lambacck at gmail.com
Sun Jun 19 22:30:43 EDT 2005
You should be able to access regular dlls and handle callbacks with
the ctypes module without needing to resort to any real c code:
http://starship.python.net/crew/theller/ctypes/
-Chris
On 18 Jun 2005 02:10:59 -0700, peter.o.mueller at gmx.de
<peter.o.mueller at gmx.de> wrote:
> Hi together,
>
> i have a Windows DLL in C that is internally multithreaded and provides
> a callback function to signal specific events. As I understood one can
> use "normal" C-code with swig. Is it also possible to use existing
> DLLs? Does swig can also handel the callback method? If not - is there
> another wrapper toolkit that can do that?
>
> Thanks,
> Peter
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Christopher Lambacher
lambacck at computer.org
More information about the Python-list
mailing list