win32com - .ocx won't Dispatch...

Matt Gerrans matt.gerrans at hp.com
Thu Sep 23 12:28:04 EDT 2004


Additionally, you might test with other tools like JScript (or VBScript) a 
little ATL program in C++, Microsoft's ActiveX Control Test Container, or 
C#.    If it needs a window, the JScript/VBScript/ATL will probably fail 
similarly.   In C#, it is pretty easy to put it an ActiveX control on a 
form, or create it independently so you could easily test whether that's the 
problem.

By the way, it sounds like maybe you really wanted to create a COM 
automation server instead of an ActiveX control (if you don't expect or 
require it to be on a window or form). 





More information about the Python-list mailing list