ImplAAFObject::SetPropertyValue() checks the object's
class definition to ensure that the given property
definition is registered in its OMPropertySet - then it
goes on to set the corresponding property value by
However, '_pProperties' is acting on a different property
set. Therefore the two property sets need to be
synchronised for this to work correctly. I would suggest
the following modification to the existing code:- After,
ar = pProperties->SynchronizeProperty(this, pPropDef);
The above doesn't seem to cause any problems if the
two property sets were already synchronized.
BTW is there a way to post code fragments to this
forum without having leading whitespace removed??