Hi all !

I kannot do a VARIANT (or better _variant_t) vector. This code:
#include <vector>
typedef std::vector<VARIANT> VariantVECTOR;

class MyClass
{
public:
MyClass(){;}
virtual ~MyClass(){;}

private:
VariantVECTOR myVarVect;
};

gives this compiler error:

C:\Programme\DevStudio\VC\INCLUDE\xutility(45) : error C2678: binary '<' : no operator defined which takes a left-hand operand of type 'const struct tagVARIANT' (or there is no acceptable conversion)

Please help !

Thanks in advance !

Emanuil Achim