2009/3/17 Trygve Inda <cocoa...@xericdesign.com>: > io_service_t service; > CFDictionaryRef dict; > > dict = (CFDictionaryRef) IODisplayCreateInfoDictionary (service, > kNilOptions);
The fact that you have to cast the result at all is a pretty big indicator. I'd bet you've forgotten to include whatever header IODisplayCreateInfoDictionary is defined in. (You're probably also seeing warnings about the implicit declaration of IODisplayCreateInfoDictionary). > No matter what I do I get: > > warning: cast to pointer from integer of different size > > I am compiling 32/64bit and this is defined as: > > CFDictionaryRef IODisplayCreateInfoDictionary( > io_service_t framebuffer, > IOOptionBits options ); > > Thaoughts? > > > _______________________________________________ > > 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/clarkcox3%40gmail.com > > This email sent to clarkc...@gmail.com > -- Clark S. Cox III clarkc...@gmail.com _______________________________________________ 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