[python-win32] OLE Error during dispatch

Alexander Urbina alexurbina0119 at gmail.com
Tue Feb 13 22:20:51 EST 2024


Hi All,

So I'm currently having an issue with pywin32, I keep getting this OLE
error:
Error: (-2146233036, 'OLE error 0x80131534', None, None), is there anyone
who is familiar with how to solve this issue or knows what the root cause
is? I'm trying to connect to an application called INCA from ETAS but I
keep getting this error. Any help would be appreciated thanks!

Best,
A.U

import win32com.client
import os
import sys

def start_inca_measurement():
    try:
        # Create a COM object
        inca_app = win32com.client.Dispatch("Inca.Inca.7.4")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20240213/8d27a8f2/attachment.html>


More information about the python-win32 mailing list