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. C / C++ / MFC
  4. how can I create a copy of the pst file when it is open.

how can I create a copy of the pst file when it is open.

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 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.
  • S Offline
    S Offline
    Sandeep Vaidya
    wrote on last edited by
    #1

    When we try to open the pst file when the outlook is open and accessing it, fopen itself will fail. Please let me kow what is the best way of reading the pst file contents when the file is open. Thanks in advance Sandeep

    D 1 Reply Last reply
    0
    • S Sandeep Vaidya

      When we try to open the pst file when the outlook is open and accessing it, fopen itself will fail. Please let me kow what is the best way of reading the pst file contents when the file is open. Thanks in advance Sandeep

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      How are you calling fopen()?


      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

      "We will be known forever by the tracks we leave." - Native American Proverb

      S 1 Reply Last reply
      0
      • D David Crow

        How are you calling fopen()?


        "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

        "We will be known forever by the tracks we leave." - Native American Proverb

        S Offline
        S Offline
        Sandeep Vaidya
        wrote on last edited by
        #3

        fopen("pst file path", "rb");

        D 1 Reply Last reply
        0
        • S Sandeep Vaidya

          fopen("pst file path", "rb");

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          I can only assume that Outlook has opened the file for exclusive access. Have you considered Outlook's COM interface?


          "The largest fire starts but with the smallest spark." - David Crow

          S 1 Reply Last reply
          0
          • D David Crow

            I can only assume that Outlook has opened the file for exclusive access. Have you considered Outlook's COM interface?


            "The largest fire starts but with the smallest spark." - David Crow

            S Offline
            S Offline
            Sandeep Vaidya
            wrote on last edited by
            #5

            I cannot use that I belive. I am writig a backup software which can back up the files to a given medium. During this time I cannot use different menthids to backup different files I think.

            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