• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: invalid conversion from 'void*' to 'CGImage*' (QTMovie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >invalid conversion from 'void*' to 'CGImage*' (QTMovie) (From: Carles Gutierrez <email@hidden>)

  • Prev by Date: Re: -[NSCFArray initWithObjects:count:]: nil object. Why no crash?
  • Next by Date: Re: -[NSCFArray initWithObjects:count:]: nil object. Why no crash?
  • Previous by thread: Re: invalid conversion from 'void*' to 'CGImage*' (QTMovie)
  • Next by thread: How do you remove an item from recentDocumentURLs?
  • Index(es):
    • Date
    • Thread