CDISR5091E
The conversion to type target type from a value handle that contains a value of type value type is not valid.
ValueHandle
class does not match the C++ type to which it is converted.ValueHandle
object before you convert it to a C++ type.