[gmpi] Re: low level API

  • From: Tim Hockin <thockin@xxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Fri, 4 Feb 2005 15:48:04 -0800

On Sat, Feb 05, 2005 at 11:51:06AM +1300, jeffmcc@xxxxxxxxxx wrote:
> Win #1:
>  Using a structure requires you to create and maintain 2
> things, the GMPI_Plugin class and a matching structure. 
> Each member function of GMPI_Plugin gets a matching entry in
> the structure.  The host calls the function pointed to in
> the struct, a small stub that forwards the call to the
> GMPI_Plugin class.

OK, I can see that, I guess.  I'm leery of ever getting anything "for
free" especially when one of the parties is C++.

How do you know the signature of each array member? You have to know it
a priori and cast it?

> Win #2: COM is supported by so many languages COM plugins
> are loadable by C, C++, Java, Delphi, Pascal, Visual Basic,
> Python, .NET etc etc...

...on Windows.  Does any other OS actively use COM for anything?


----------------------------------------------------------------------
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: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: