I cant include links in my post, but I have just read the section in the VST3 api documentation called Creation and Initialize from Host point of view
Is it intentional in this example that if the iEditController is retrieved via the queryInterface method, then initalize() is not called?
If so, I presume terminate() should also not be called for this case?
Secondly, according to microsoft docs queryInterface always automatically calls addRef before returning, so the client only needs to call release. However, in the microsoft docs, CreateInstance returns with ref count of 0, so the client would call both addRef and release. What about VST3 createInstance? I assume until now this returns with reference count of 1, but having read this I would appreciate confirmation of that.
Thanks in advance