Re: Error -3000 (Invalid component ID)
Re: Error -3000 (Invalid component ID)
- Subject: Re: Error -3000 (Invalid component ID)
- From: Howard Moon <email@hidden>
- Date: Thu, 23 Jan 2003 09:14:37 -0800
On Thursday, January 23, 2003, at 09:36 AM, Marc Poirier wrote:
anyone seen this error? I've ported a VST plug to AU, using the
Logic
porting SDK, and I get this error. Afterwards, my plug-in comes up,
but with the "default" blue Logic AU plug-in window instead of my
custom window. Assuming that I'm correctly interpreting -3000 as
"invalid component ID", (as given in the file MacHeaders.r), it's
pretty obvious my editor or something is registering an invalid ID,
but
where? Anyone know what file in the SDK or in my app might cause that
error at instantiation time? BTW, the plug-in is recognized by Logic
fine...it's just when I try to bring it up that I get this error.
I had this happening recently when I had an AU that I made quite a
while
ago, but then when I updated it with a GUI component, I got this
problem.
I rebooted my computer and the problem disappeared! Also, make sure
that
you have added the entry point for the GUI component to your .exp file,
and that you have the COMPONENT_ENTRY macro for your GUI component
somewhere in its source code, you have the resources created for it,
in your .r file, etc...
Marc
Ok, you got me there....what's an .exp file? (I'm using
CodeWarrior...is that something for ProjecctBuilder???)
I've been trying to follow the porting SDK readme and instructions in
the header file, but obviously something is missing. We use our own
custom gui (but *not* vstgui), based on the vst 2 standards and
classes. I have set VST2AU_USES_GUI to 1 in VSTAUDefines.h, but
apparently I have not done some crucial step. My effect class
instantiates the editor class (as it always has in vst, with no
problem), but is there some additional work I need to add to make the
editor (view) class an AudioUnit itself? Something that was left out
of the porting SDK?
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?
Thanks,
Howard
_______________________________________________
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.