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. Help me! I meet big problem!

Help me! I meet big problem!

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++comquestion
3 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.
  • Z Offline
    Z Offline
    zhangyifei
    wrote on last edited by
    #1

    when i store ole object found that the save file grow biger and biger! Under MFC(DOC/VIEW) STRUCT , "CreateCloneFrom" function make it! How Can I deal with! give some code ! ZHANGYIFEI

    R 1 Reply Last reply
    0
    • Z zhangyifei

      when i store ole object found that the save file grow biger and biger! Under MFC(DOC/VIEW) STRUCT , "CreateCloneFrom" function make it! How Can I deal with! give some code ! ZHANGYIFEI

      R Offline
      R Offline
      Ryan Binns
      wrote on last edited by
      #2

      zhangyifei wrote: when i store ole object found that the save file grow biger and biger! I assume you're talking about an OLE compound file. If so, this is normal behaviour. Nothing gets deleted from these files. The data gets appended to the data stream and the stream is updated to use this new data. The only way to prevent this happening is to read the data from the file, and write it to a new file.

      Ryan

      "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

      Z 1 Reply Last reply
      0
      • R Ryan Binns

        zhangyifei wrote: when i store ole object found that the save file grow biger and biger! I assume you're talking about an OLE compound file. If so, this is normal behaviour. Nothing gets deleted from these files. The data gets appended to the data stream and the stream is updated to use this new data. The only way to prevent this happening is to read the data from the file, and write it to a new file.

        Ryan

        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

        Z Offline
        Z Offline
        zhangyifei
        wrote on last edited by
        #3

        can you give me a demo ?thanks! ZHANGYIFEI

        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