If Event not starting with "On" are not handle properly
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
I have a .NET assembly that generates an Event.
The event name is Started. I got the following exception:
com_error: (-2147352567, 'Exception occurred.',
(0, '', 'Unknown name.', None, 0, -2147352570), None)
The problem is that when calling MakePy on the TLB, it
generates the event name as"OnStarted" and
not "Started" in _dispid_to_func_
If the event name in C# assembly event interface
is "OnStarted" than everything works fine.
I don't know if this is specific to .NET interoperabilty or
not.
I never noticed it with COM connection points
Makepy generated file