Linking against HIServices?
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