Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

WIC MetadataQueryWriter throwing an exception "Type [Byte] is not handled" #787

Closed
Tape-Worm opened this issue Aug 8, 2016 · 1 comment
Labels

Comments

@Tape-Worm
Copy link
Contributor

Using SharpDX 3.0.2 on Nuget

I'm attempting to write out a metadata item (/grctlext/Disposal for animated GIF files), which requires a VT_UI1 variant type (which I'm using a byte type for), and when I do this my code crashes with the exception mentioned above.

I've tracked the problem down to the Value property setter in SharpDX/Win32/Variant.cs. Basically, the setter does not have a check for byte types and as such, the exception is thrown.

@xoofx xoofx added the bug label Aug 27, 2016
xoofx added a commit that referenced this issue Feb 17, 2017
@jkoritzinsky
Copy link
Contributor

Fixed by #855

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants