[python-win32] pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

Tim Roberts timr at probo.com
Tue Sep 8 14:45:37 EDT 2020


Shaik Saleem Basha wrote:
> When I downloaded  install python  by default  it installed  32bit 
> version only so pywin32 also I installed 32bit only
> Quicopc library is installed

If QuickOPC is a 64-bit component, then you need to call it from a 
64-bit process.  This is not always an easy thing to determine. If a 
company wants to support both 32-bit and 64-bit processes, then it has 
to install two different COM servers.  I suggest you describe your 
problem to the QuickOPC folks; they would know right away if this were 
the issue.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3389 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-win32/attachments/20200908/c6a1face/attachment.bin>


More information about the python-win32 mailing list