| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Where does the debugger say the crash occurs?
Kevin G.
Can some please help me find the error in this code:
int main(int argc, char* argv[]) { OSStatus error; char aName[256]; UInt32 aCount; Str255 mName; ScriptCode mCode; UniChar uName[256]; UniCharCount uCount; DisplayIDType mainID; CMProfileRef profile;
error = DMGetDisplayIDByGDevice( GetMainDevice(), &mainID, true );
error = CMGetProfileByAVID( mainID, &profile );
error = CMGetProfileDescriptions( profile, aName, &aCount, mName, &mCode, uName, &uCount );
}
CMGetProfileDescriptions returns paramErr on PPC. On Intel it always crashes.
TIA,
Jan E. (going crazy)
_______________________________________________ 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
| References: | |
| >CMGetProfileDescriptions problem (From: "Jan E. Schotsman" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.