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: GetGraphicsImporterForDataRef



Keith,

Sorry for the misdirection.

Here's a sample from Apple's sample code. Since it looks like you also have
a URL, perhaps you could use the following sample to modify your code such
that it works.

// the default URL is
// "http://www.apple.com/quicktime/developers/icefloe/images/writinguin.gif";

// URL data references must be nul-terminated
PtrToHand( &str[1], &urlDataRef, 1 + str[0] );
(*urlDataRef)[ str[0] ] = 0;

// locate and open a graphics importer component for the data reference
err = GetGraphicsImporterForDataRef( urlDataRef, URLDataHandlerSubType,
&importer );

Scott
_______________________________________________
mac-games-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac-games-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: GetGraphicsImporterForDataRef (From: Keith Bauer <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.