FROM : Joey Coyle
DATE : Sun Nov 21 17:02:00 2004
thanks Nick,
>
>> Does this just mean the header file is not public for us to view??
>
> No, it means that you might not be including the right frameworks. A
> quick BBEdit search shows that CGDirectDisplayID is defined in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/CoreGraphics.framework/Versions/A/Headers/
> CGDirectDisplay.h.
You are right... ApplicationServices is not listed in my Frameworks in
my XCode project. The question arises then, how is my project
compiling if I don't have CGDirectDisplay.h included??? And if it is
included in some automatic way, wouldn't I want XCode to search those
Header files also, when I do a Search??
joey
########################################
Also
thanks Ben
> here's a useful command line search to tell you all the headers that a
> particular phrase appears in:
>
> find /System/Library/Frameworks -name \*.h -exec grep -li
> "CGDirectDisplayID" {} \;
>
It seems I will need this... since XCode can't do the search.
thanks everyone,
joey
DATE : Sun Nov 21 17:02:00 2004
thanks Nick,
>
>> Does this just mean the header file is not public for us to view??
>
> No, it means that you might not be including the right frameworks. A
> quick BBEdit search shows that CGDirectDisplayID is defined in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/CoreGraphics.framework/Versions/A/Headers/
> CGDirectDisplay.h.
You are right... ApplicationServices is not listed in my Frameworks in
my XCode project. The question arises then, how is my project
compiling if I don't have CGDirectDisplay.h included??? And if it is
included in some automatic way, wouldn't I want XCode to search those
Header files also, when I do a Search??
joey
########################################
Also
thanks Ben
> here's a useful command line search to tell you all the headers that a
> particular phrase appears in:
>
> find /System/Library/Frameworks -name \*.h -exec grep -li
> "CGDirectDisplayID" {} \;
>
It seems I will need this... since XCode can't do the search.
thanks everyone,
joey
| Related mails | Author | Date |
|---|---|---|
| Joey Coyle | Nov 20, 23:36 | |
| Markus Spath | Nov 21, 01:07 | |
| Joey Coyle | Nov 21, 02:51 | |
| Nick Zitzmann | Nov 21, 06:30 | |
| Ben Dougall | Nov 21, 13:22 | |
| Joey Coyle | Nov 21, 17:02 | |
| Nick Zitzmann | Nov 21, 18:06 | |
| David Dunham | Nov 21, 22:40 | |
| Joey Coyle | Nov 22, 00:30 | |
| David Dunham | Nov 24, 01:36 |






Cocoa mail archive

