comapring two variants

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi

when I try to compare two VARIANTS, i get a compilation error.

when i tried the same in version visual studio 7.0 it works fine but with
7.1 it gives me the following compilation error:
binary '!=' : no operator found which takes a left-hand operand of type
'VARIANT' (or there is no acceptable conversion)

can any one help

thanks
 
when I try to compare two VARIANTS, i get a compilation error.
when i tried the same in version visual studio 7.0 it works fine but with
7.1 it gives me the following compilation error:
binary '!=' : no operator found which takes a left-hand operand of type
'VARIANT' (or there is no acceptable conversion)

Use the VarCmp API.

Dave
 
Back
Top