Help me! I meet big problem!
-
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
-
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
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"
-
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"
can you give me a demo ?thanks! ZHANGYIFEI