Newbie COM problem

Mark Hammond mhammond at skippinet.com.au
Mon May 6 21:11:10 EDT 2002


Blair Hall wrote:


> Now when I execute this script I get the following message
> 
> 
>>>>Registering COM
>>>
> Warning:  Can not locate a host .EXE for the COM server
> The server will not be registered with LocalServer32 support.Registered:
> PythonDemos.Utilities
> 
> Can anyone explain what might have gone wrong?

It is likely that you are doing this from pythonwin.  Try running it 
from a Command Prompt using python.exe.

I have just fixed the COM registration code to do a better job at 
finding pythonw.exe, so it should work fine from Pythonwin in the next 
version.

Mark.




More information about the Python-list mailing list