@lexikos what exactly is this change all about? how did it use to work previously? what does it enable now?Changed ComValue, ComValueRef and ComObjArray to dispatch via prototype properties, allowing the script to inspect or extend them.
[a133] ComValue dispatches to Prototype properties Topic is solved
[a133] ComValue dispatches to Prototype properties
Re: [a133] ComValue dispatches to Prototype properties Topic is solved
As I said, it enables the script to inspect or extend the properties of those objects, via their prototype.
COM object wrappers were implemented as they are in v1, by multiple checks against the property or method name and directly executing the corresponding code. You could not:
COM object wrappers were implemented as they are in v1, by multiple checks against the property or method name and directly executing the corresponding code. You could not:
- Check for the existence of a property or method.
- Get a reference to a method function or property getter/setter (they didn't even exist).
- Redefine a property or define a new property by modifying the prototype.
- Invoke the .base property (I think).