Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. IStream for files

IStream for files

Scheduled Pinned Locked Moved COM
c++question
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LasVegasGuy
    wrote on last edited by
    #1

    What is the best way to get an IStream interface pointer on an existing file? I am using Visual C++ 6.0. Man Learns from History that he never learns from History

    J 1 Reply Last reply
    0
    • L LasVegasGuy

      What is the best way to get an IStream interface pointer on an existing file? I am using Visual C++ 6.0. Man Learns from History that he never learns from History

      J Offline
      J Offline
      Jorgen Sigvardsson
      wrote on last edited by
      #2

      AFAIK, there is no known implementation for files. I implemented it myself, which is pretty straight forward. -- Ich bin Joachim von Hassel, und ich bin Pilot der Bundeswehr. Welle: Erdball - F104-G Starfighter

      L 1 Reply Last reply
      0
      • J Jorgen Sigvardsson

        AFAIK, there is no known implementation for files. I implemented it myself, which is pretty straight forward. -- Ich bin Joachim von Hassel, und ich bin Pilot der Bundeswehr. Welle: Erdball - F104-G Starfighter

        L Offline
        L Offline
        LasVegasGuy
        wrote on last edited by
        #3

        I found the SHCreateStreamOnFile function. Was wondering if there was somthing in the STG group of functions that I could use. Man Learns from History that he never learns from History

        J 1 Reply Last reply
        0
        • L LasVegasGuy

          I found the SHCreateStreamOnFile function. Was wondering if there was somthing in the STG group of functions that I could use. Man Learns from History that he never learns from History

          J Offline
          J Offline
          Jorgen Sigvardsson
          wrote on last edited by
          #4

          Hey, thanks for the function. I haven't seen it before, and certainly not in the STG headers. :beer: -- Ich bin Joachim von Hassel, und ich bin Pilot der Bundeswehr. Welle: Erdball - F104-G Starfighter

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups