The ToolsAPI interface IOTAComponent declares two methods for getting property values: The comment says "The untyped var must be large enough to hold the returned value." which pretty much lets us guess, how large it must be for an enum (or even a Boolean). Let's say, we want to read the Enabled property of a … Continue reading Beware: IOTAComponent.GetPropValue needs 4 bytes for an enum