Modifying a Source Object After Export

Modifying a Source Object After Export

Modifications to the IDL source object can affect the operation of an existing wrapper object even if the wrapper is not rebuilt because the wrapper object uses the source object in its current state, not a state cached at the time the Assistant generates the wrapper object.

In general:

Adding properties or methods has no impact on an existing wrapper object.

Modifying behavior in a property handler or method causes the new behavior to be in effect for the next invocation of the application using the wrapper client. This can be useful because the wrapper does not need to be regenerated for the client to pick up IDL source modifications.