Implement _FlagAsMethod (like python's win32com)
Closed this issue · 1 comments
timknip commented
Hi,
Getting this error:
(It always seems to be appeared at that time you mistake calling
'obj.get { ocv->getProp() }' <-> 'obj.call { ocv->invoke() }'.)
IDispatch::Invoke AutoWrap() failed
Now, the python module win32com as found in the pywin32 package seems to solve it.
import win32com.client
max = win32com.client.Dispatch("MAX.Application.16")
max._FlagAsMethod("DoExecute")
hr = max.DoExecute( someCommand )
Would it be possible to implement something like that?
ie: forcing 'call' over 'get' ?
Or does node-win32ole already have a similar thing?
Thanks,
Tim
timknip commented
Please ignore and close this issue.
The issue turns out to be not related to node-win32ole.
Thanks btw for the great module :)