[gmpi] Re: low level API - Abstract Factory summary

  • From: "Ron Kuper" <RonKuper@xxxxxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Wed, 9 Feb 2005 09:09:02 -0500

Because only GUIDs are guaranteed to be globally unique across space and
time.  Company names change, products get versioned but use the same
name, etc.  At some level there needs to be a fudgeproof unique ID. 

-----Original Message-----
From: gmpi-bounce@xxxxxxxxxxxxx [mailto:gmpi-bounce@xxxxxxxxxxxxx] On
Behalf Of Angus F. Hewlett
Sent: Wednesday, February 09, 2005 9:01 AM
To: gmpi@xxxxxxxxxxxxx
Subject: [gmpi] Re: low level API - Abstract Factory summary

I'd very much prefer (Manufacturer,Name) string pairs or 
Apple-component-style (com.company.product) strings. Why do we need
GUIDs?

Regards,
       Angus.

Ron Kuper wrote:

>I was thinking GUIDs.  We could make them string-ified GUIDs if that
>helps.  In your opinion are GUIDs as hard to discover and assign as
>strings? 
>
>-----Original Message-----
>From: gmpi-bounce@xxxxxxxxxxxxx [mailto:gmpi-bounce@xxxxxxxxxxxxx] On
>Behalf Of Steve Harris
>Sent: Wednesday, February 09, 2005 5:07 AM
>To: gmpi@xxxxxxxxxxxxx
>Subject: [gmpi] Re: low level API - Abstract Factory summary
>
>On Wed, Feb 09, 2005 at 12:33:33 +1300, jeffmcc@xxxxxxxxxx wrote:
>  
>
>>>HRESULT CreateFactory( CLSID clsidClass, IFactory**
>>>      
>>>
>> ppFactory );
>>
>>Hi Ron,
>> So each plugin has a unique ID code, we pass that to the
>>factory, it returns a GMPI_Plugin interface.  That's good...
>>    
>>
>
>If were working with unique IDs, please make them strings. Its much
>easier
>to discover and assign globally unique strings that integers.
>
>- Steve 
>
>----------------------------------------------------------------------
>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
>
>
>----------------------------------------------------------------------
>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
>
>
>
>  
>


-- 
=========================================================
  Angus F. Hewlett, Managing Director (CEO)
  FXpansion Audio UK Ltd   -   http://www.fxpansion.com
  Registered in the UK - #4455834 - VAT: GB 798 7782 33
========================================================= 


----------------------------------------------------------------------
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


----------------------------------------------------------------------
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: