Jump to content
Sign in to follow this  
ioan

Cannot create instance of class CLSID_WICImagingFactory

Recommended Posts

I'm trying to use Vcl.Graphics.TWICImage on a Windows Server 2012 R2 and the following exception thrown:

EInvalidGraphicOperation: Cannot create instance of class CLSID_WICImagingFactory (800401F0)

Anyone knows the reason? On my development machine with Windows 10 Pro works fine.

 

Oops, never mind, it seems that I forgot CoInitialize/CoUninitialize

Edited by ioan

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×