simplest question on win32com.client

Peter Hansen peter at engcorp.com
Tue Apr 29 09:35:51 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

Obviously this shouldn't happen. :-)  Maybe reinstalling Python
and win32all would be a good idea.  Otherwise, do you have some
alternate means of checking the COM interface to Excel?  Maybe
via VB (ugh)?

-Peter




More information about the Python-list mailing list