• 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
"Selector not recognized" for existing selector : how is this possible??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"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

  • Follow-Ups:
    • Re: "Selector not recognized" for existing selector : how is this possible??
      • From: Greg Parker <email@hidden>
  • Prev by Date: Re: Menu bar WITHOUT dock icon?
  • Next by Date: NSNoSelectionMarker and friends
  • Previous by thread: Tiger and setAutoresizesAllColumnsToFit
  • Next by thread: Re: "Selector not recognized" for existing selector : how is this possible??
  • Index(es):
    • Date
    • Thread