Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DisplayLink setup on macbook pro fails...



forgive me. it was a compile flag... disabling c99 mode solved the problem...

thanks anyway :)


Am 28.05.2006 um 22:40 schrieb Alexander Huber:

hi,
I'm checking the list of available Displays using the following code:
int maxDisplays = 2;
CGDirectDisplayID onlineDisplayIDs[maxDisplays];
CGDisplayCount displayCount;
CGGetOnlineDisplayList(maxDisplays, onlineDisplayIDs, &displayCount);
printf("displayCount is %d ", displayCount);
CVReturn res = CVDisplayLinkCreateWithCGDisplay(onlineDisplayIDs[0], &_displayLink);
if(res == kCVReturnSuccess) {
CVDisplayLinkSetOutputCallback(_displayLink, _displayLinkCallBack, self);
}
else {
_displayLink = NULL;
printf("failed");
}
as expected, I get a displaycount of 2, if I have another display attached to my macbook pro, respectively 1 if not, so I assume I did this right.
res has always a value of -6670 - it doesn't matter which display I select.
The macbook pro is the 1.83/128mb GRAM model, with 10.4.6 and qt 7.1
What can I do? Who can reproduce the problem on another intel mac?

Thanks
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden

References: 
 >DisplayLink setup on macbook pro fails... (From: Alexander Huber <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.