[python-win32] RE: Can we add 'native COM support' to a 3rd party DLL/OLB

Craig Taverner craig.taverner at comopt.com
Mon May 26 12:29:59 EDT 2003


> The Pythonwin docs refer to creating native interfaces via SWIG, and
> the Pythonwin CVS contains a tweaked version of SWIG 1.1 for creating
> the MAPI interfaces.
> 
> Exactly what the mechanics of doing this aren't yet clear to me, but
> I'm guessing that there must be a reasonable way to convert the type
> library definitions to SWIG .i files.
> 
> I'm further hampered by not having access to MSVC (I've been using
> MinGW for the extensions I've done to date, including an Arc ODE
> extension set).

Sounds promising. Although I do have access to MSVC6 and .NET, I do not
have access to much time, as the python side is currently still only a
small part of our project. Perhaps you could point me directly to the
SWIG references you have above, and I'll see if there's anything I can
do in the short term. Since I know nothing really about python
extensions (yet), the learning curve will be a definite delaying factor.




More information about the Python-win32 mailing list