Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is CArchive class dowes?

Answers were Sorted based on User's Feedback



What is CArchive class dowes? ..

Answer / songeetha

CArchive is a temporary buffer area for handling datas
between CMap and CFile. The datas from the user are first
entered in CMap and then from this CMap, they are stored to
CFile through CArchive Class, while closing the application.

When opening the application the datas from CFile are
loaded into CMap through CArchive.
At first CFile should be opened or created before creating
instance for CArchive. After transferring of datas between
CMap and CArchive, CArchive instance should be closed first
before closing the CFile. The vice-versa action will
results in crashing of application.

Is This Answer Correct ?    2 Yes 0 No

What is CArchive class dowes? ..

Answer / sonali d

CArchive is used with serilization.Serilization is nothing
but technique to save an application persistent data to
disk or read it to back.this is done through CArchive which
uses CFile function to perform I/O.

MFC oveload << and >> operator used with CArchive to make
serilizing data to or from CArchive simple

Is This Answer Correct ?    2 Yes 0 No

What is CArchive class dowes? ..

Answer / krishna akkulu

CArchive does not have a base class.archive object as a
kind of binary stream

You must create a CFile object before you can create a
CArchive object.

When you construct a CArchive object, you attach it to an
object of class CFile (or a derived class) that represents
an open file.

CArchive also supports programming with the MFC Windows
Sockets classes CSocket and CSocketFile. The IsBufferEmpty
member function supports that usage.

Is This Answer Correct ?    2 Yes 1 No

What is CArchive class dowes? ..

Answer / ctharam

CArchive does not have a base class.

Later you can load the objects from persistent storage, reconstituting them in memory. This process of making data persistent is called "serialization."

You can think of an archive object as a kind of binary stream. Like an input/output stream, an archive is associated with a file and permits the buffered writing and reading of data to and from storage. An input/output stream processes sequences of ASCII characters, but an archive processes binary object data in an efficient, nonredundant format.

You must create a CFile object before you can create a CArchive object.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MFC Interview Questions

If application hangs while SendMessage is waiting for the result, how you handle it?

2 Answers  


In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?

2 Answers   Wipro,


plzz tell me what we can do and dont in tally ERP & sap business one?

0 Answers  


Tell me the work of HTREDUCE and HTZOOM

1 Answers   E Logic,


What is the difference between hinsrtance and hprevinstance in WinMain function?

3 Answers  


What is the difference between OnInitialUpdate and OnUpdate?

5 Answers  


Tell us something about MFC?

7 Answers   Microsoft,


What is the command routing in MFC framework?

3 Answers  


How can server communicate with more than one client

2 Answers   Invensys,


List out the parameters of WinMain Function.

2 Answers   Mphasis,


What is stack size in win32 program?

1 Answers   HCL,


Types of DLL's

11 Answers   Invensys,


Categories