[Tutor] Need help with SWIG

Roman Suzi rnd at onego.ru
Sat Jul 7 08:33:57 CEST 2001

On Fri, 6 Jul 2001, Patrick K. O'Brien wrote:

>If there is anyone here that has experience with SWIG, I could use some
>help. I'm trying to build an interface to a commercial Windows application

I've heard, that on Windows you can use COM to access application as an

(And Python works with COM)

>that provides an api in the form of a dll file. I have the C header file and
>tried to run it through SWIG to create the Python interface but SWIG fails
>with a whole bunch of "Syntax error in input" errors. I really don't know
>where to begin and I hate to spend any more time on this than necessary. All
>I want is the darn Python interface so I can start using the dll from
>If anyone could help I would greatly appreciate it. I can send you the .h
>file as well. Thanks.

Sincerely yours, Roman Suzi
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Saturday, July 07, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "OK, I'm weird! But I'm saving up to become eccentric." _/

More information about the Python-list mailing list