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 s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com