PDA

View Full Version : using quictime sdk's




frozenrain
Apr 4, 2008, 11:48 AM
Hello, I couldn't really see another spot that might be more appropriate for this so here goes.

I am programming for windows right now but plan to take it to mac eventually.

I am trying to copy a music file over a movie file and lower the sound on the music before i do. My problem is that I picked up the project from where someone else left off and they were using quicktime 2.0 sdks. I have downloaded the 7.3 sdk from the apple site but I can not figure out how to add it to my resorces in visual C#. Is there anyone out there who can help me with either figuring out how to do it in 2.0 framework or how to add the 7.3 correctly?


Thanks.



kainjow
Apr 4, 2008, 01:04 PM
When you install the QuickTime SDK, it is placed (by default) at C:\Program Files\QuickTime SDK. Inside that folder is a CIncludes and Libraries folder. You need to add those paths to your project.

What I did for VS 2005 was this:

1. Go to Tools > Options.
2. Select Projects and Solution > VC++ Directories (may be named differently for C#).
3. You will see a drop-down labeled "Show directories for". Choose "Include files".
4. Click the add folder button, and choose the CIncludes folder in the QuickTime SDK folder.
5. Repeat for the "Library files" drop-down option using the Libraries folder in the QuickTime SDK.

Hope this helps.

frozenrain
Apr 4, 2008, 11:51 PM
thank you very much, that goes a long way to solving my problems. I don't actually have any time to mess with it tonight, but tommorow i have to figure out how to actually use those files.

Do you happen to know if they are automaticlly reconized now? can I just use commands? or do i have to know which header to include and include it manually in the code section before i can use it because it still dosn't let me add it as a referance afterwards.


Thank you again for all your help.

kainjow
Apr 5, 2008, 12:41 AM
Are you using this from C# (.NET)? If so I think you'll have to go the DllImport route. More info here: http://lists.apple.com/archives/QuickTime-API/2005/Jul/msg00124.html