[gmpi] Re: ABI's / Nutshell

Hi Chris,

Just re-checked them, see nothing there that says a GUI instance isn't tied to a plug instance. Just what do you mean, and can you point me to a supporting req # please?


Req 76: GUIs are not part of a DSP plugin with private access to the DSP internals.

Regarding the QueryInterface. Appologies if I seem rude. Just feel like everyone who joins the list has the same knee-jerk reaction to it.. proposes something 'simpler' (to them), but not really any better.

Best Regards,
Jeff



  Is it for managing plug API version changes?
Yep.


Couldn't the factory or the metadata provide that more simply?


More simply than a single function?


It's not simple to go all the way through populating plug menus and instantiating a plug object, only to find out you can't use it because API versions don't match. Meantime memory's chewed and the user's irritated. The factory or metadata can know this, so we can head this off, so we must.


More robustly than a mechanism that returns NULL if the host doesn't support the plugin version?
More flexible than a mechanism whereby the plugin can choose to support say GMPI V1 and V3 but not V2?


if( !( iSupportGmpiApiVersion( yourFactory-->getGmpiApiVersion() ) ) { getRidOf( yourPlugDll ); }

What's complicated, unreliable, or inflexible about that?


Best Regards,

Jeff McClintock - explaining interfaces to the world... one person at a time.


Same to you.

-- Chris G. - explaining doing what the job requires to the world... one person at a time

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe




----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: