Hi,
Trying to port a VB program to VC++. I'm using a Flexgrid and the AddItem method takes two param's. In VB the second param was optional and I didn't use it. In VC++ that doesn't seem to be the case. It takes a 'tagVARIANT'type to a index.
Could someone show me how to load this param and how to set it up? I'm really losted on this.

Thanks
Steve P.