FROM : Twisted Theory Software
DATE : Sat Jan 19 23:48:15 2008
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
DATE : Sat Jan 19 23:48:15 2008
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
| Related mails | Author | Date |
|---|---|---|
| Twisted Theory Sof… | Jan 19, 23:48 | |
| Kyle Sluder | Jan 19, 23:58 | |
| Twisted Theory Sof… | Jan 20, 00:22 |






Cocoa mail archive

