Dear All,

I am running into a strange problem (for me). I use the openopc
(www.openopc.org) python package to connect to a OPC server through
COM. I have the following code:

import openopc
opc = openopc.client('OPC.Automation.1')

If I run this code from within PythonWin, it succeeds. However, when I
run the code from within a normal python shell, it fails with the
following error:

OPCError: Dispatch: Invalid access to memory location

My main questions are, what is the difference between the embedded
PythonWin shell and a normal python shell, and do you have any
suggestion on how to solve/debug the issue?

Kind regards,

Marco
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to