🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.mfc
Article #126

Re: Eaven Easier - check this out...

#126
From: Fr�d�ric VIALLET
Date: Wed, 20 Dec 2000 14:35
47 lines
2226 bytes
thanks Julie ;)

all works fine.

Regards,

Fred

"Julie" <michal.arbel@contop.com> a �crit dans le message news:
uuZnp3oaAHA.2184@tkmsftngp05...
> Actualy, The easiest way is -
>
> ===================================
>
> USES_CONVERSION;
> CString s;
> _variant_t var( A2W(s));
>
> ===================================
>
> Tell me its not short....... :o)
>
>
>
>
>
>
>
> "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: <91qg3e$r35$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!204.127.161.2.MISMATCH!wn2feed!worldnet.att.net!205.252.116.205!howland.erols.net!netnews.com!oleane.net!oleane!nnrp.oleane.net!not-for-mail
References: <91o4be$pl$1@s1.read.news.oleane.net> <uuZnp3oaAHA.2184@tkmsftngp05>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1138df,6492fccb20b167df
X-Google-Attributes: gid1138df,public
X-Google-Thread: f7a51,6492fccb20b167df
X-Google-Attributes: gidf7a51,public
X-Google-Thread: 104d65,6492fccb20b167df
X-Google-Attributes: gid104d65,public
X-Google-Thread: fdcad,6492fccb20b167df
X-Google-Attributes: gidfdcad,public
X-Google-Thread: 104971,6492fccb20b167df
X-Google-Attributes: gid104971,public
X-Google-ArrivalTime: 2000-12-20 06:40:02 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!204.127.161.2.MISMATCH!wn2feed!worldnet.att.net!205.252.116.205!howland.erols.net!netnews.com!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "Fr�d�ric VIALLET" <fviallet@com1.fr>
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
Subject: Re: Eaven Easier - check this out...
Date: Wed, 20 Dec 2000 15:35:14 +0100
Organization: COM1
Lines: 49
Message-ID: <91qg3e$r35$1@s1.read.news.oleane.net>
References: <91o4be$pl$1@s1.read.news.oleane.net> <uuZnp3oaAHA.2184@tkmsftngp05>
NNTP-Posting-Host: ns.com1.fr
X-Trace: s1.read.news.oleane.net 977322927 27749 62.161.40.253 (20 Dec 2000 14:35:27 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Wed, 20 Dec 2000 14:35:27 +0000 (UTC)
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