Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 06 Feb 2013
Offline Last Active Feb 07 2013 06:37 AM

Posts I've Made

In Topic: Loading Bitmaps from file

07 February 2013 - 04:11 AM

Okay, I saw that the pointer to WIC Factory that I pass to the function is null.


Doesn't should that initialize the pointer?


        IWICImagingFactory *pWICFactory = NULL;
		hr = CoCreateInstance(CLSID_WICImagingFactory, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pWICFactory));


What else I have to do?