Solved

what should be the max size of document?

Posted on 1998-11-02
2
149 Views
Last Modified: 2013-11-20
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!
0
Comment
Question by:sunraj
2 Comments
 
LVL 1

Expert Comment

by:TheGrinch
ID: 1324151
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
 

Accepted Solution

by:
ryildirim earned 50 total points
ID: 1324152
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Running shell command from Access 3 68
Unix / Linux grid computing 5 144
Separate into files by filename 12 75
How to convert MFC::CString to UTF8 wchar_t* 10 139
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short film showing how OnPage and Connectwise integration works.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now