When i try to read a BSTR in a COleVariant with

CString Cs;
Cs.Format("%s", Variant.bstrVal);

my Cs contains just the first character of the string. Could you explain me why and what is the good methode to do this !

---------------------------------------------
Laurent BERNARD
Ingénieur Développement - Logiciel Visilog

NOESIS
6, rue de la réunion
91940 Les Ulis

E-mail : [email protected]

Tél.: 01 64 86 78 50 poste 290
------------------------------------------------