Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

pCebrian

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;
	if(SUCCEEDED(hr))
	{
		hr = CoCreateInstance(CLSID_WICImagingFactory, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pWICFactory));
	}

 

What else I have to do?

 

Thanks!


PARTNERS