c++ - CoCreateInstance of IWICImagingFactory -



c++ - CoCreateInstance of IWICImagingFactory -

i running visual studio 2012 on windows 7 machine.

when run simpledirect2dapplication found here : http://technet.microsoft.com/en-us/subscriptions/dd940321%28v=vs.85%29.aspx

hr = cocreateinstance( clsid_wicimagingfactory, null, clsctx_inproc_server, iid_ppv_args(&m_pwicfactory) );

the cocreateinstance fails "class not registered" , ptr mill 0.

any help appreciated.

using this

#if defined(clsid_wicimagingfactory) #undef clsid_wicimagingfactory #endif

and may pass this

refer: http://skia.googlecode.com/svn/trunk/src/ports/skimagedecoder_wic.cpp

c++ directx direct2d

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -