Newbie: Python instance VB?

Gerhard Häring gh at ghaering.de
Sun Jun 8 11:43:54 CEST 2003


Alex wrote:

> Hi All,
> Is possible create an instance of a Visual Basic (or VC++) DLL in a Python
> project?

A "VB DLL" is always a COM DLL. A "VC++" DLL can be a COM DLL.

> I need to integrate older systems written in other languages.

There's win32com from Mark Hammond that's used a lot for this purpose. 
win32com is part of the Pyhton for Windows Extensions: 
http://starship.python.net/crew/skippy/

If you ever need to interface a traditional (non-COM) DLL without 
writing glue code in C, there's ctypes from Thomas Heller.

-- Gerhard





More information about the Python-list mailing list