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: CMGetProfileDescriptions problem




On 11-mei-06, at 7:40, Kevin G. wrote:

I assume CMGetProfileByAVID() returns no error? Otherwise, the
"profile" could be garbage and may be the reason the follow-up call fails.

Actually the error was that aCount and uCount must be initialized to the array sizes.
<x-tad-bigger>In most cases, for example CMGetProfileElement, the API documentation mentions this explicitly. After a night's sleep it dawned upon me that the logic of CMGetProfileDescription was likely to be similar.</x-tad-bigger>

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

This email sent to 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.