Wrapping a .dll under windows with SWIG
Les Schaffer
schaffer.SPAM at optonline.net
Fri Nov 1 12:52:28 EST 2002
Ben C wrote:
> Hi there,
>
> I want to wrap a .dll under windows and have access to it's functions
> etc. The problem is that all I have is the .dll and header file ... no
> source ...
i've successfully wrapped DLL files sans .lib files, by using function
pointer table and LoadLibrary() / GetProcAddress().
see the swig stuff for the PyGoldMine library at:
http://sourceforge.net/projects/pygoldmine/
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pygoldmine/PyGoldMine/SWIG/
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pygoldmine/PyGoldMine/SWIG/gm5s32.i?rev=1.1&content-type=text/vnd.viewcvs-markup
Les Schaffer
More information about the Python-list
mailing list