simplest question on win32com.client

Mark Hammond mhammond at skippinet.com.au
Tue Apr 29 18:59:46 EDT 2003


Joe Green wrote:

> I can't seem to get this code to run.
> 
> 
> --
> from win32com.client import Dispatch
> 
> xl = Dispatch("Excel.Application")
> --
> 
> It comes back with:
> 
> The instruction at "0x1e039e79" referenced memory at "0x1e3840fc". The
> memory could not be "read".
> 
> Click OK to terminate the program
> Click on CANCEL to debug the program

I've seen this happen when an old state excel process is hanging around. 
  Check using the Task Manager that there is no Excel currently running.

Mark.





More information about the Python-list mailing list