A simple Visual COBOL 5.0 (VS 2017) Windows Forms program ... which has a datetimepicker control ... (which has a tag property) ... if you try to reference and test the tag value with something like this:
if dateTimePicker1::Tag = "1"
    invoke type MessageBox::Show("dateTimePicker1::Tag = 1")
else
    invoke type MessageBox::Show("dateTimePicker1::Tag NOT = 1")
end-if.
... you get a compilation error "COBCH0888: Illegal comparison for this type".
This compiles cleanly with Visual COBOL 2.2 (VS 2013).
Please advise.
Thanks.