Re: pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

Tim Roberts <[email protected]>
Newsgroups gmane.comp.python.windows
Message-ID <[email protected]>
On Sep 8, 2020, at 9:18 PM, Shaik Saleem Basha <[email protected]> wrote:
> 
> Thank you for your response I will to that .
>  
> But my issue is not only with Quickopc , I have installed OpenOPC in that also I’m getting same error

OpenOPC is just a wrapper around the other OPC clients.  If you have 64-bit clients, OpenOPC will also fail as well.  However, I do not see QuickOPC in the list of classes supported by OpenOPC.


> In my Case pywin32 is not matching with the version python I’m using .

Why do you think so?  You have Python 3.8, and the Pywin32 is for Python 3.8.  If there were a mismatch, you couldn’t call Dispatch at all.


> Can you please suggest me the versions which I can use to solve this errors , because the same version I’m using in another windows laptop there I’m not getting this errors.

Either something has gone wrong with your QuickOPC installation, or you need the 64-bit Python.
— 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.