Re: invalid conversion from 'void*' to 'CGImage*' (QTMovie)
Re: invalid conversion from 'void*' to 'CGImage*' (QTMovie)
- Subject: Re: invalid conversion from 'void*' to 'CGImage*' (QTMovie)
- From: "Sean McBride" <email@hidden>
- Date: Mon, 27 Sep 2010 12:40:56 -0400
- Organization: Rogue Research Inc.
On Fri, 24 Sep 2010 14:13:11 +0200, Carles Gutierrez said:
>I'm getting a strange error I cannot fix.
>I have declared a QTMovie like this, using an opensource template
>(openframeworks):
>
>// It's a Cocoa QTMovie, void*'s so it's C++ compatible
>void *movie;
BTW, instead of using 'void*' you can use 'id' if you #include <objc/
objc.h>. It's a pure C header file and so can be included in a pure C++
file. It typedefs 'id'.
See also:
<http://www.cocoabuilder.com/archive/cocoa/277595-call-cocoa-from.html>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden