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: QT + "Play Movie with Controller" + Xcode 2.4



Thanks a lot Mark ! :)

I've found another project, in C, which I can build and use.
This is QTCarbonShell : http://developer.apple.com/samplecode/QTCarbonShell/index.html#//apple_ref/doc/uid/DTS10003611

I'm searching for a way to open a movie file in the project (with his full path) and not with a dialog box but as I don't know really well the C-language and "pointers" (because "QTNewDataReferenceFromFullPathCFString", "QTNewDataReferenceFromFSRef" or  "CFStringCreateWithCString" use it), I'm a bit blocked so I'm looking for basic methods to do this, on the web.

I think it won't be too difficult to find.

But.. perhaps you (or someone else on this list) has a simple "OpenMovie" sample code in C to help me ?

I hope so ;)

Thanks in advance.

Jérôme


Le 12 sept. 06 à 23:49, Mark Sanvitale a écrit :

Well, if you're really determined to use this old sample code, then when you open the project in any recent Xcode you should "Upgrade All Targets in Project to Native" (from Xcode's "Project" menu) and then build this upgraded target to get rid of the Jam error (since recent Xcodes no longer uses Jam).

Of course, then you end up with the compiler complaining about code problems.  But, that's better than jam errors.

Um, unfortunately, once I fixed the code problem I ended up with an error from ResMerger (which, like Jam, is another older tool not normally used anymore).  Looking at the resource files that are part of the project, they are all empty (both data and resource forks).  This is not good.  Thus, as far as I can tell, this project will never build.


Mark


On Sep 12, 2006, at 2:50 AM, Jérôme Chauvin wrote:

Hi all !

I'm new on this list and I have to create a sort of light QT player with Xcode, in C (or C++).

I've found a thing which can be used to do this :

But this project seems to be old and I'm not able to re-built the project (error in /usr/lib/libstdc++.a ).
I've found that this lib is not really usefull now with Xcode 2.4 so i've uncheck the "linking checkbox" to desable it in the project structure.

But now it's"Jam" which is in troubles... : "JamtoolExecution PlayMovieController (1 error) -> Command /Developer/Private/jam failed with exit code 1"
(And there is no more information...) :-/


So, is someone could give me some ideas, help, suggestions in order to continue because I've not really good ideas to clean this problem ?
It will be verry healpfull.

Perhaps, some of you have samples codes or an URL to a good example in order to help me to create a simple QT player as I dealed with in the beginning ?

I'm really news to this and my boss wants a prototype of this for friday ... :-/

Thanks in advance for any help and suggestion !

Regards,
Jérôme Chauvin




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden

References: 
 >QT + "Play Movie with Controller" + Xcode 2.4 (From: Jérôme Chauvin <email@hidden>)
 >Re: QT + "Play Movie with Controller" + Xcode 2.4 (From: Mark Sanvitale <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.