Re: Error -3000 (Invalid component ID)
Re: Error -3000 (Invalid component ID)
- Subject: Re: Error -3000 (Invalid component ID)
- From: Urs Heckmann <email@hidden>
- Date: Thu, 23 Jan 2003 19:48:07 +0100
Howard, you're faster than I can type my replies :-)
Am Donnerstag, 23.01.03, um 18:44 Uhr (Europe/Berlin) schrieb Howard
Moon:
Urs,
I can see those calls in the AUBase that is in my
Developer:Examples:CoreAudio:AudioUnits:AUBase folder, but not in the
AUBase that I have in the porting SDK's BaseClasses:Apple folder. If
I switch to the Examples code base, then I can no longer compile.
(One example error: the file <algo.h> cannot be found, which is
included in there somewhere.) Is there a newer porting SDK or
something? I had to comment out some code in my AUBase.cpp because
the property is no longer supported. I think there must have been
other changes in the new 10.2.3 OS, or in the December 2002 Developer
Toolkit that is causing this incompatibility. Previously I had been
getting a blank GUI window. Now, after moving to a new machine with
all the new Apple stuff, I get this -3000 error.
Thanks for the help...
Howard
It's not 10.2.3 - It's the December 02 Developer Tools. There is an
updated CoreAudio SDK inside.
If you indeed use the old one that sits inside your porting SDK's
BaseClasses:Apple folder, forget what I say. - In that case you have
the old AUBase stuff which should work just fine with the porting lib
and 10.2.3 ...
However, it it is recommended to use the new SDK (see recent threads on
the list).
I think, being a PB-User and not using the porting lib, my advice might
be more confusing than helpful...
This is what you may or may not like to know (typed as reply to the
previous mail):
Am Donnerstag, 23.01.03, um 18:14 Uhr (Europe/Berlin) schrieb Howard
Moon:
Urs,
I find those calls you mention in AUBase, but not in my own code
anywhere. Am I supposed to write some code in my effects or editor
class that overrides those functions?
Howard,
okay, I'm not too familiar with Emagics porting lib (and I don't have
it here right now).
There must be a place where AUBase::GetProperty() is overridden and
where the ComponentDescription is passed.
If you find that, you can just take what there is and set up the
new-style GetUIComponentDescs() accordingly. - Don't forget to put it
in the accompanying header, too. - While we're into headers, you just
override GetNumCustomUIComponents () by:
virtual int GetNumCustomUIComponents () {return 1;}
This should be it.
Dunno exactly what Marc's problem had been.
Also, someone else might have solved this problem before (updated the
porting lib), so someone more familiar with the lib and maybe a
CodeWarrior user might be more helpful (I use PB...).
;) Urs
urs heckmann
email@hidden
www.u-he.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.