I am writing a QuickTime based application. I have to create an off-
screen GWorld, and I use QTNewGWorldFromPtr for that. And I use
DisposeGWorld when I am done with the GWorld.
But when compiling for Tiger I get a compiler warning saying that
DisposeGWorld is deprecated. Fair enough, except I don't want
compiler warnings. I am the type of person that compilers with
warnings treated as errors.
So my question is this: 1) Is there a newer call to make other than
DisposeGWorld which is not deprecated? Other than that, is there a
way to temporarily turn off this warning around the call to
DisposeGWorld and then turn it back on on the line afterwards?
I would imagine that GWorlds created by QTNewGWorldFromPtr are just
as deprecated as GWorlds created by QuickDraw. It might be
interesting to explore what you are doing with that GWorld and see if
there is a more modern technique which will give you the same
results, but help you avoid QuickDraw altogether.
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden