[Tutor] Python and DLL's

Daniel Yoo dyoo@hkn.eecs.berkeley.edu
Thu, 26 Apr 2001 19:30:32 -0700 (PDT)


On Thu, 26 Apr 2001, csima wrote:

> Does anyone have any information on being able to make a python script an
> activex dll? I want to be able to create a dll that will be accessible by a
> VB program

Hmmm... I haven't played with Windows in a while, but I've seen a few
links that might be useful:


There's some information on making DLL's here:

    http://python.org/doc/current/ext/building-on-windows.html



There's also ways of writing COM objects in Python, which you should be
able to access from VB.  There's some information on doing this here:

    http://starship.python.net/crew/mhammond/

and the book "Python and Win32 Programming", by Mark Hammond and Andy
Robinson:

    http://www.ora.com/catalog/pythonwin32/

gives more details about doing this sort of stuff.


Good luck to you.