Win32 ActiveX with COM support

Méta-MCI enleverlesX.XmcX at
Mon Mar 20 22:33:22 CET 2006


Make your COM server with PyWin32  (e.g. named PCOM)

In your HTML, with JScript, you can :

open :
      try{ var pserv = new ActiveXObject("PCOM");}
      catch(error){alert('Ne trouve pas PCOM');}

call :
    var vret = pserv.youfunction( par1, par2) ;

With PyWin32, all the remainder is automatic

(the example is only for I.E.)

Michel Claveau

More information about the Python-list mailing list