Search:
Type: Posts; User: nitinmalapalli
Search:
Search took 0.01 seconds.
-
I fixed it. The CFile::modeCreate was causing the problem all along. Thanks very much, you've been very helpful!
-
I see. So how could I initiate the open and load routine? I'm trying to get CArchive::IsStoring() to be false and CArchive::IsLoading() to be true. There is no function to set this change.
-
Here's the code where i open the file. This method decides based on a parameter nOp whether to save or to load. 1 is to save and 0 is to load.
//Save or load the object!
void CMainWindow ::...
-
Hello all,
I'm using serialization to save an object to a file. Here's the method:
//Saver
void Table :: Serialize(CArchive &cArch1)
{
CObject::Serialize(cArch1);
|
Click Here to Expand Forum to Full Width
|