what should be the max size of document?

I am storing some information in my vc++ binary document file. How much information can i store in this document.
I remmember that maximum information that can be stored
in vc++ document is of 2mb. Is it so ?


What will happen in case if it exceeds 2 mb?
Advance thanks!
sunrajAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ryildirimConnect With a Mentor Commented:
By binary document file, I think you mean serialization support added to CDocument class. Serialization forms a  binary file, and the 2Mb limit is not true. It's limit is associated with the OS file size limits.
0
 
TheGrinchCommented:
Your question makes no sense. There is no such thing as a "VC++ binary document file". What file do you mean?

If you are talking about an MFC document, the associated file can be any size (depending on your storage medium).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.