convert VARIANT to CSTRING

Discussion in 'C++' started by michael mazanek, Sep 18, 2006.

  1. 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
     
    michael mazanek, Sep 18, 2006
    #1
    1. Advertising

  2. michael mazanek

    Howard Guest

    "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
     
    Howard, Sep 18, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Markus Hämmerli
    Replies:
    6
    Views:
    7,796
    Peter van Merkerk
    Sep 4, 2003
  2. romi
    Replies:
    1
    Views:
    2,610
    Alf P. Steinbach
    Sep 2, 2004
  3. romi
    Replies:
    2
    Views:
    640
    Joona I Palaste
    Sep 2, 2004
  4. jt
    Replies:
    2
    Views:
    902
    upashu2
    Jul 14, 2005
  5. Gertjan Huiskes

    Convert CString to Variant

    Gertjan Huiskes, Jan 4, 2007, in forum: C++
    Replies:
    1
    Views:
    627
    Victor Bazarov
    Jan 4, 2007
Loading...

Share This Page