Article View: comp.os.ms-windows.programmer.tools.mfc
Article #112Re: how to convert COleVariant into CString ?
From: Jeff Partch
Date: Mon, 15 Jan 2001 12:00
Date: Mon, 15 Jan 2001 12:00
11 lines
1522 bytes
1522 bytes
Hi!
Here's one way: Use the V_BSTRT macro declared in afxdisp.h...
CString str = V_BSTRT(&var);
HTH,
Jeff...
--
Please post all follow-ups to the newsgroup only.
Technical Details
Message-ID:
<usq92uufAHA.1308@tkmsftngp05>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!cppssbbsa01.microsoft.com!tkmsftngp01!tkmsftngp05References:
<93um25$rfp$1@s1.read.news.oleane.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1138df,ff3e18dc4524ede7 X-Google-Attributes: gid1138df,public X-Google-Thread: fdcad,ff3e18dc4524ede7 X-Google-Attributes: gidfdcad,public X-Google-Thread: 104971,ff3e18dc4524ede7 X-Google-Attributes: gid104971,public X-Google-Thread: f7a51,ff3e18dc4524ede7 X-Google-Attributes: gidf7a51,public X-Google-Thread: 104d65,ff3e18dc4524ede7 X-Google-Attributes: gid104d65,public X-Google-ArrivalTime: 2001-01-15 04:13:00 PST From: "Jeff Partch" <airborne@airmail.net> References: <93um25$rfp$1@s1.read.news.oleane.net> Subject: Re: how to convert COleVariant into CString ? Date: Mon, 15 Jan 2001 06:00:18 -0600 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <usq92uufAHA.1308@tkmsftngp05> 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: pppt17-178.ght.iadfw.net 207.136.39.178 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!cppssbbsa01.microsoft.com!tkmsftngp01!tkmsftngp05