Hello, I registered an object with pywin32. For demonstrative purposes I used a simple HelloWorld available here: https://github.com/BorutFlis/Scripts/blob/main/hello.py
I can call with pywin32: import win32com.client o = win32com.client.Dispatch("Python.TestServer") It works fine. I than tried to run it with visual basic in Excel and it was not working. My Excel is 64-bit and so is my Python. After some advice I tried running the Visual Basic script with C:\Windows\System32\cscript.exe and C:\Windows\SysWOW64\cscript.exe . It works with the SysWOW64, which is where the 32-bit object are. So my COM object is 32-bit, why is that and how can I reconfigure. Also I don't know where to locate the .dll or .exe created. There is not entry at: HKEY_CLASSSES_ROOT\Wow6432Node\CLSID\{7CC9F362-486D-11D1-BB48-0000E838A65F}, only at: HKEY_CLASSSES_ROOT\Wow6432Node\AppID\{7CC9F362-486D-11D1-BB48-0000E838A65F}, but it has no info about the dll or exe. Best Regards, Borut
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32