15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Using Serialize with Structured Storage

Michael & Vicki -- mvp@pgh.net
Tuesday, January 30, 1996

Is it possible to serialize objects (cstrings, carrays, clists, etc) =
to/from a OLE structured storage (compound file)?  I have been using the =
storages and streams with relative ease, but I don't seem to see any =
direct references/examples of serializing with streams in a compound =
file.  I have checked MSVC4.0 Books and MSDN Jan 96.
--Michael Pasterik



Darren Martz -- martz%mspo3@mprgate.mpr.ca
Wednesday, January 31, 1996


Look into using COleStreamFile with CArchive and it will all make perfect   
sense. The COleStreamFile is based on IStream and the CArchive is used   
for serializing. If you are still not sure, the code is identical to   
opening a CFile and opening a CArchive, attaching the CFile to the   
archive then serialize away.

Good to hear that some people are using interfaces directly like that.

Darren

 ----------
From:  owner-mfc-l[SMTP:owner-mfc-l@netcom.com]
Sent:  Tuesday, January 30, 1996 10:40 PM
To:  'mfc-l'
Subject:  Using Serialize with Structured Storage

Is it possible to serialize objects (cstrings, carrays, clists, etc) =
to/from a OLE structured storage (compound file)?  I have been using the   
=
storages and streams with relative ease, but I don't seem to see any =
direct references/examples of serializing with streams in a compound =
file.  I have checked MSVC4.0 Books and MSDN Jan 96.
 --Michael Pasterik




| Вернуться в корень Архива |