"Selector not recognized" for existing selector : how is this possible??
"Selector not recognized" for existing selector : how is this possible??
- Subject: "Selector not recognized" for existing selector : how is this possible??
- From: "Jonathan del Strother" <email@hidden>
- Date: Fri, 20 May 2005 05:27:09 -0400
My GasLight plugin works fine for most people, but it certain cases it
crashes, complaining of the following:
-[Controller initWithVisData:]: selector not recognized [self = 0x11fea00]
A little background - the plugin is Carbon, and dynamically loads in a
Cocoa bundle when the user opens the config window. So the bundle has
the following externally available function:
extern "C" OSStatus initializeBundle(VisualPluginData* visData)
{
if (!sharedController) //No previous controller exists, so create one
{
localPool = [[NSAutoreleasePool alloc] init];
sharedController = [[Controller alloc] initWithVisData:visData];
}
return noErr;
}
Now...the initWithVisData method clearly exists, because it works fine
on most people's machines, it's in the same file as the above function,
declare in a header file,and so on...
This works on my Powerbook, so I'm having a really hard time tracking
down what might be causing this. Any random suggestions would be
greatly appreciated.
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden