CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: nitinmalapalli

Search: Search took 0.01 seconds.

  1. Re: Object serialization problem: opening and reading a saved object.

    I fixed it. The CFile::modeCreate was causing the problem all along. Thanks very much, you've been very helpful!
  2. Re: Object serialization problem: opening and reading a saved object.

    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.
  3. Re: Object serialization problem: opening and reading a saved object.

    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 ::...
  4. Object serialization problem: opening and reading a saved object.

    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);
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured