Develop ActiveX elements -> Example: LatchedSwitch -> The methods -> CanUseVariables
This method returns 1, so zenon variables can be used.
short CLatchedSwitchCtrl::CanUseVariables()
{
return 1;
}