I’m trying to create and add components to my gui at runtime.
Component* new_c = new Component();
Component* c = this->getActiveEditor();
If I do this for example in the processBlock the debugger halts in the Component::getPeer() method because of a access violation.
If anybody could give me a hint what I’m missing here, I would be very thankfull.