locked
Check Direct2D and Windows Imaging Component available

    Question

  • How to check whether Direct2D and Windows Imaging Component is available or not programmatically?
    Monday, October 29, 2012 5:05 AM

Answers

  • The Windows Store apps Forums are specifically for developers to discuss writing Windows Store apps. Direct2D and WIC are always available for Windows Store apps.

    For desktop apps please post in the Windows Desktop Development Forums . The standard way to tell if a COM object is available is to try to try to create an instance. If it succeeds then the component exists. If it fails then the component is not available.

    --Rob

    Monday, October 29, 2012 5:25 AM
    Owner
  • Direct2D is available on any system with the "DirectX 11.0 Runtime". See Direct3D 11 Deployment for Game Developers

    WIC is supported on Windows starting with Windows XP Service Pack 3. WIC2 is supported on Windows 8.

    Typically most applications have a 'you must be this high to ride this ride' style of OS version check in the installer, and make assumptions from there. Beyond that you should check for individual support by trying to create the component and handling fallback gracefully.

    For Windows Store apps, you can assume you are always on Windows 8 or later.

    Wednesday, October 31, 2012 1:26 AM

All replies

  • The Windows Store apps Forums are specifically for developers to discuss writing Windows Store apps. Direct2D and WIC are always available for Windows Store apps.

    For desktop apps please post in the Windows Desktop Development Forums . The standard way to tell if a COM object is available is to try to try to create an instance. If it succeeds then the component exists. If it fails then the component is not available.

    --Rob

    Monday, October 29, 2012 5:25 AM
    Owner
  • Direct2D is available on any system with the "DirectX 11.0 Runtime". See Direct3D 11 Deployment for Game Developers

    WIC is supported on Windows starting with Windows XP Service Pack 3. WIC2 is supported on Windows 8.

    Typically most applications have a 'you must be this high to ride this ride' style of OS version check in the installer, and make assumptions from there. Beyond that you should check for individual support by trying to create the component and handling fallback gracefully.

    For Windows Store apps, you can assume you are always on Windows 8 or later.

    Wednesday, October 31, 2012 1:26 AM