iPlug2 Forum

IPlugVST & case effSetProgram

I guess this has been asked before (at least at the old WDL forum): In IPlugVST::VSTDispatcher we still have the construct

case effSetProgram:
  if (_this->DoesStateChunks() == false)
    _this->ModifyCurrentPreset(); // TODO: test, something is funny about this http://forum.cockos.com/showpost.php?p=485113&postcount=22

For my plugins I found that I have to comment out the “if (_this->DoesStateChunks() == false)” or else programs will not get stored when changed via the host. Do you guys have the same issue or is there something potentially wrong with what I am doing/expecting?

Cheers, Björn