Given the fast pace of changes to intrinsic (belonging to the rb runtime) classes, dynamic access over other forms of access becomes really critical.

While one can create a variant using "REALNewVariantColor", retrieving a color from it like:

UInt32 Variant_GetColor(REALobject self)
{
        long value;
        if (REALGetPropValue(self, "ColorValue", &value))
                return value;
        else
        {
                MSG(DYNAMIC ACCESS FAILURE: Variant_GetColor)
                return Variant_VariantToColor(self);
        }
}

simply fails. What's the exact syntax? We do not have problems with other variant properties.

Alfred
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to