@Dan-Korneff I know I probably did it wrong.. I used the sln file to open the project in Visual Studio, then opened Cubase with my plugin, and then attached the Cubase process to Visual Studio.
However, the DAW project only has problems opening when the linking button is active. I can open the DAW normally with the plugin if the link button is inactive.
I have a lot of linked knobs like these:
const var btnLinkLayerFX = Content.getComponent("btnLinkLayerFX");
inline function onknbSaturation1Control(component, value)
{
Saturator1.setAttribute(Saturator1.PreGain, value);
if (btnLinkLayerFX.getValue())
{
knbSaturation2.setValue(value);
knbSaturation2.changed();
}
};
Content.getComponent("knbSaturation1").setControlCallback(onknbSaturation1Control);
inline function onknbSaturation2Control(component, value)
{
Saturator2.setAttribute(Saturator2.PreGain, value);
if (btnLinkLayerFX.getValue())
{
knbSaturation1.setValue(value);
knbSaturation1.changed();
}
};
Content.getComponent("knbSaturation2").setControlCallback(onknbSaturation2Control);
Is there a better way of linking knobs to avoid problems?