Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > convert VARIANT to CSTRING

Reply
Thread Tools

convert VARIANT to CSTRING

 
 
michael mazanek
Guest
Posts: n/a
 
      09-18-2006
Hi all,
i have a VARIANT variable which contains a "friendly name" of a
video-codec (direct show).
Does anyone know how to retrieve the friendly name as a string to
display it on the console?

Thanks for any advice!
mm
 
Reply With Quote
 
 
 
 
Howard
Guest
Posts: n/a
 
      09-18-2006

"michael mazanek" <> wrote in message
news:92102$450ed9e3$5470037b$. ..
> Hi all,
> i have a VARIANT variable which contains a "friendly name" of a
> video-codec (direct show).
> Does anyone know how to retrieve the friendly name as a string to display
> it on the console?
>
> Thanks for any advice!
> mm


VARIANT and CSTRING are not built-in types in the C++ language. You need to
ask somewhere where they know what those are. Possibly a microsoft
newsgroup? Or something having to do with "direct show" (such as DirectX?)?

(By the way, did you mean CString? And possibly Variant? Remember, in C++
case is important.)

-Howard



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert CString to Variant Gertjan Huiskes C++ 1 01-04-2007 10:06 PM
How to convert CString to an ASCII character string? jt C++ 2 07-14-2005 05:36 AM
type VARIANT and array - conversion to CString romi C Programming 2 09-02-2004 12:58 PM
type VARIANT and array - conversion to CString romi C++ 1 09-02-2004 10:52 AM
? CString to char* in Unicode; How to convert? Markus Hämmerli C++ 6 09-04-2003 08:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57