On Apr 27, 2017, at 11:17 PM, gowri shankar <[email protected]>
wrote:
>
> I checked both the ways without any success. By the by, mws.EigenmodeSolver()
> works perfectly in MATLAB. Does the object name changes with different
> language.
It's not impossible. You're using late binding here, which has to find the
entry points by doing a text search. However, the web seems to indicate that
your spelling is correct.
> Can you please suggest any literature or source where i can learn more on COM
> .
There are an infinite number of books and websites on COM; the technology has
been around for more than 20 years. However, the different language bindings
do have different requirements and implications, so a C++-based book will be
good background information, but won't help specifically with Python.
As an experiment, you might try using EnsureDispatch instead of just Dispatch.
from win32com.client.genache import EnsureDispatch
That creates and saves a Python module to interface to the object. Sometimes
having that module can be helpful in debugging.
—
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32