• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AU Views, 'thng' versus ComponentEntryPoint::Register
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU Views, 'thng' versus ComponentEntryPoint::Register


  • Subject: Re: AU Views, 'thng' versus ComponentEntryPoint::Register
  • From: William Stewart <email@hidden>
  • Date: Fri, 24 Mar 2006 11:41:34 -0800


On 23/03/2006, at 2:17 PM, Angus F. Hewlett wrote:

Hi all,

Looking at ours and some other AUs, there seem to be two different ways that an AU can register its View component with the system:-

-- via ComponentEntryPoint<CViewClass>::Register()
This is dynamic - that is the view is being registered by code being executed

-- via a 'thng' resource describing the View, and the COMPONENT_ENTRY macro.

This is static - the view is registered by the component mgr code based on the resource entry. In general this is the preferred option as it doesn't require any of your code to execute in order for you view to be discoverable; though the difference here is minimal from what I can surmise.


Bill


Is one preferred over the other? Both seem to pass auval OK, as far as I can tell.


Best regards,
	Angus.

--
=========================================================
  Angus F. Hewlett, Managing Director (CEO)
  FXpansion Audio UK Ltd   -   http://www.fxpansion.com
  Registered in the UK - #4455834 - VAT: GB 798 7782 33
=========================================================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: AU Views, 'thng' versus ComponentEntryPoint::Register
      • From: Kenneth Weiss <email@hidden>
References: 
 >AU Views, 'thng' versus ComponentEntryPoint::Register (From: "Angus F. Hewlett" <email@hidden>)

  • Prev by Date: Re: The proper way of finding out if a host is doing offline processing
  • Next by Date: Re: The proper way of finding out if a host is doing offline processing
  • Previous by thread: AU Views, 'thng' versus ComponentEntryPoint::Register
  • Next by thread: Re: AU Views, 'thng' versus ComponentEntryPoint::Register
  • Index(es):
    • Date
    • Thread