|
I found the problem ... For those interested, this
is the solution:
TRY
{ CFile fil( (LPCTSTR)str, CFile::modeRead ); CArchive ar( &fil, CArchive::load, 4096); m_bCompoundFile = false; // ---> This and the next line did the trick ar.m_pDocument = (COleDocument*)this; COleServerDoc::Serialize(ar); } CATCH( CFileException, e ) { AfxMessageBox("Cannot open ole file"); } END_CATCH
|
- [msvc] Problem with serialization Juan Carlos Cobas
- RE: [msvc] Problem with serialization Juan Carlos Cobas
- RE: [msvc] Problem with serialization Ehsan Akhgari
- Re: [msvc] Problem with serialization Juan Carlos Cobas
- Re: [msvc] Problem with serialization Juan Carlos Cobas
- RE: [msvc] Problem with serialization Jason Teagle
- Re: [msvc] Problem with serialization Juan Carlos
- [msvc] C++ test [OT] Juan Carlos
- RE: [msvc] C++ test [OT] Ehsan Akhgari
