CDISR5091E

The conversion to type target type from a value handle that contains a value of type value type is not valid.

The type of an object of the ValueHandle class does not match the C++ type to which it is converted.
Check the type of the ValueHandle object before you convert it to a C++ type.