• 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
Linking against HIServices?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking against HIServices?


  • Subject: Linking against HIServices?
  • From: Twisted Theory Software <email@hidden>
  • Date: Sat, 19 Jan 2008 16:48:15 -0600

I'm trying to use the private API CoreMenuExtraAddMenuExtra(), which is compiled into HIServices. However, adding its umbrella framework, ApplicationServices, does not link correctly. I'm working in Leopard, but compiling against 10.4u SDK.

I have the following lines in my header file:


int CoreMenuExtraAddMenuExtra( CFURLRef path, int position, int whoCares,int whoCares2, int whoCares3, int whoCares4);
int CoreMenuExtraGetMenuExtra( CFStringRef identifier, void *menuExtra);
int CoreMenuExtraRemoveMenuExtra( void *menuExtra, int whoCares);



but I get a symbol not found error when Xcode tries to link the executable. I have linked against ApplicationServices.framework, grep shows that the HIServices binary contains the string CoreMenuExtraAddMenuExtra, so I know it's there. Is there something else I need to do?


Thanks,

Josh
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: RE:CalCalendarStore notification names?
  • Next by Date: What happens when I call NSMakeCollectable on a CFArrayRef?
  • Previous by thread: RE:CalCalendarStore notification names?
  • Next by thread: Linking against HIServices?
  • Index(es):
    • Date
    • Thread