Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with ImprocServer32 #1691

Closed
DominikRoB opened this issue Apr 13, 2021 · 2 comments
Closed

Problem with ImprocServer32 #1691

DominikRoB opened this issue Apr 13, 2021 · 2 comments

Comments

@DominikRoB
Copy link

I encountered the same problem as described here : #1569
I registered a Python Class to be used via VBA and COM but could not create it. (Error: Module not found).

Additionally, I tried to create the COM object from within Python, which worked flawlessly:

from comtypes.client import CreateObject
c = CreateObject('SciPyInVBA.PythonSkewedNormal')
c.GeneratePopulation(3,10)

I could not run the provided VBA Script.
Then I checked the registry and could find the entry InprocServer32 . After renaming it to InprocServer, following the previous issue, it worked.

  • Version of Python and pywin32
    I used both Python 3.8 and 3.6, with the same result.
    3.8 is part of anaconda, and 3.6 as my local installation.
    PyWin32 Version: 227

OS is Windows 10 64 bit

@DominikRoB
Copy link
Author

Quick Update, because I can't stop testing around:
It does not matter how I rename "InprocServer32", a new name of "asdf" or "q", did the trick as well.
I am not familar enough with the COM interface to take any meaningful conclusion out of this, but maybe it helps.

@DominikRoB
Copy link
Author

Solved with #1704

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant