Article View: comp.os.ms-windows.programmer.tools.mfc
Article #122Re: how to convert a CString into a VARIANT ??
From: Dave Smith
Date: Tue, 19 Dec 2000 17:33
Date: Tue, 19 Dec 2000 17:33
24 lines
1845 bytes
1845 bytes
Fred, Why not use the MFC class COleVariant? It has a constructor which takes a CSting as a parameter. Dave Smith "Fr�d�ric VIALLET" <fviallet@com1.fr> wrote in message news:91o4be$pl$1@s1.read.news.oleane.net... > hi, > > use : VC++ 6 > > how to do to convert a CString into a VARIANT ? > VARIANT v; > v.bstrVal="toto"; > > ?? > > Thanks for help on the subject > > Fred > >
Technical Details
Message-ID:
<es1IBKeaAHA.1564@tkmsftngp03>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!blackbush.xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!news.belwue.de!news.tesion.net!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.sulzer.ch!tkmsftngp01!tkmsftngp03References:
<91o4be$pl$1@s1.read.news.oleane.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1138df,6492fccb20b167df X-Google-Attributes: gid1138df,public X-Google-Thread: 104971,6492fccb20b167df X-Google-Attributes: gid104971,public X-Google-Thread: 104d65,6492fccb20b167df X-Google-Attributes: gid104d65,public X-Google-Thread: f7a51,6492fccb20b167df X-Google-Attributes: gidf7a51,public X-Google-Thread: fdcad,6492fccb20b167df X-Google-Attributes: gidfdcad,public X-Google-ArrivalTime: 2000-12-19 09:41:48 PST From: "Dave Smith" <BrindleWaye@Compuserve.com> Followup-To: microsoft.public.vc.mfc References: <91o4be$pl$1@s1.read.news.oleane.net> Subject: Re: how to convert a CString into a VARIANT ?? Date: Tue, 19 Dec 2000 10:33:04 -0700 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <es1IBKeaAHA.1564@tkmsftngp03> Newsgroups: comp.os.ms-windows.programmer.tools.mfc,fr.comp.lang.c++,microsoft.public.vc.language,microsoft.public.vc.mfc,microsoft.public.vc.mfc.docview NNTP-Posting-Host: 1Cust239.tnt7.colorado-springs.co.da.uu.net 63.14.87.239 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!blackbush.xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!news.belwue.de!news.tesion.net!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.sulzer.ch!tkmsftngp01!tkmsftngp03