🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

how to convert a CString into a VARIANT ??

#120
From: Fr�d�ric VIALLET
Date: Tue, 19 Dec 2000 17:02
13 lines
1563 bytes
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: <91o4be$pl$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!news.tele.dk!195.25.12.36!oleane.net!oleane!nnrp.oleane.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1138df,6492fccb20b167df,start
X-Google-Attributes: gid1138df,public
X-Google-Thread: f7a51,6492fccb20b167df,start
X-Google-Attributes: gidf7a51,public
X-Google-Thread: fdcad,6492fccb20b167df,start
X-Google-Attributes: gidfdcad,public
X-Google-Thread: 104d65,6492fccb20b167df,start
X-Google-Attributes: gid104d65,public
X-Google-Thread: 104971,6492fccb20b167df,start
X-Google-Attributes: gid104971,public
X-Google-ArrivalTime: 2000-12-19 09:05:02 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!news.tele.dk!195.25.12.36!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: how to convert a CString into a VARIANT ??
Date: Tue, 19 Dec 2000 18:02:25 +0100
Organization: COM1
Lines: 15
Message-ID: <91o4be$pl$1@s1.read.news.oleane.net>
NNTP-Posting-Host: ns.com1.fr
X-Trace: s1.read.news.oleane.net 977245358 821 62.161.40.253 (19 Dec 2000 17:02:38 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Tue, 19 Dec 2000 17:02:38 +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