Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Help Carbonizing Component

Help Carbonizing Component
Thread Tools
Dedicated MacNNer
Join Date: Oct 1999
Status: Offline
Reply With Quote
Jan 8, 2001, 08:15 AM
 
upposedly one can compile Carbonized CMMs ('thng's)and put them in the /System/Library/Components directory in OS X.

I want to write a quicktime codec CMM so I downloaded Apple's example project:
http://developer.apple.com/samplecod...AudioCodec.htm

Classic version compiles without a hitch.

I want to Carbonize the project so I have a working Carbon CMM project to work with. I study the relevant calls in the Apple docs and everything seems Carbon compatible.

However when attempting to Compile my Carbon project it shows that the header "ComponentDispatchHelper.h" uses a macro it shoudln't, namely BUILD_ROUTINE_DESCRIPTOR which is explicitly removed from MixedMode.h using #if CALL_NOT_IN_CARBON

It seems to me the error is in the headers. My source file doesn't include "ComponentDispatchHelper.h" directly.

The example project is very very small and easy to examine.

Please help me, thank you |-)
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Boulder, CO, USA
Status: Offline
Reply With Quote
Jan 18, 2001, 10:06 PM
 
What version of the headers are you using? I don't see a ComponentDispatchHelper.h anywhere, but I do have a ComponentDispatchHelper.c, which has BUILD_ROUTINE_DESCRIPTOR in one spot. However, I didn't need that file for the wee component I Carbonized. You should certainly get the latest headers (3.4) if you can.

     
strobe  (op)
Dedicated MacNNer
Join Date: Oct 1999
Status: Offline
Reply With Quote
Jan 19, 2001, 12:17 PM
 
I'm using the headers which came with CW Pro 6
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:24 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2