Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

CArchive::IsLoading 

Determines whether the archive is loading data.


BOOL IsLoading( ) const;

Nonzero if the archive is currently being used for loading; otherwise 0.

This member function is called by the Serialize functions of the archived classes.

int i;
extern CArchive ar;
if( ar.IsLoading() )
  ar >> i;
else
  ar << i;
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.