Win32 ActiveX with COM support

Méta-MCI enleverlesX.XmcX at XmclaveauX.com
Mon Mar 20 16:33:22 EST 2006


Re!

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.)



@-salutations
-- 
Michel Claveau






More information about the Python-list mailing list