Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
a comment & a question w/ DiscRecording sample code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a comment & a question w/ DiscRecording sample code



I don't have access to Radar so maybe it would better to mention here so the right person could fix it.

The Databurntest sample project available publicly needs to be tweaked, as it doesn't build out of the box after downloading.

The group "dru" and the files inside the group (dru*.c/.h) are all pointed with absolute paths to
"/private/Network/Servers/riemann/homes/legolas/mkrochma/Desktop/DR Samples/databurntest/discrecutils".

These items should probably be set with relative paths.

The quick question I had was a general-type CodeWarrior type question. Databurntest builds successfully in ProjectBuilder with no warnings after fixing the paths.

When I try to build functions from the sample code into a PowerPlant application, the only unsolvable errors I am getting are "implicit type conversion errors" on CFDictionaryGetValue. For example:

Error : illegal implicit conversion from 'const void *' to
'const __CFString *'
CBurnObject.cp line 123 mediaState = CFDictionaryGetValue( deviceStatus, kDRDeviceMediaStateKey );

Setting the "Relax Pointer Type Rules" checkbox for the CodeWarrior project doesn't make these errors go away. I really don't want to have to cast each call to CFDictionaryGetValue. Am I missing another checkbox in the project preferences or something beyond the CoreFoundation & DiscRecording includes?

Thanks for any pointers, folks!
_______________________________________________
discrecording mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/discrecording
Do not post admin requests to the list. They will be ignored.



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.