🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.pascal.delphi.misc
3 messages
3 total messages Started by MegaBug Sun, 05 Sep 1999 00:00
Session...
#84
Author: MegaBug
Date: Sun, 05 Sep 1999 00:00
3 lines
975 bytes
How could I use "Memory Map File" for saving the Session Object ?

for your solutions : mailto:bbeyssac@multimania.com
Re: Session...
#85
Author: Greg Lorriman
Date: Sun, 05 Sep 1999 00:00
10 lines
1426 bytes
Find a memory mapped file TStream descendant on the delphi super page and
then read the VCL source. I suspect what you need can be done another way or
goes beyond the design and usage of TSession.

MegaBug <MegaBug@MegaBug.com> wrote in message
news:37d28478.27809841@news.imaginet.fr...
> How could I use "Memory Map File" for saving the Session Object ?
>
> for your solutions : mailto:bbeyssac@multimania.com
>
Re: Session...
#83
Author: Bj�rge S�ther
Date: Tue, 07 Sep 1999 00:00
25 lines
2049 bytes
Hi !

If you try to "reload" an object like TSession, it's more or less garbage (all the pointer values
are invalid). The properties like string- and integervalues may be streamed to a MMF, but what about
the object type properties ? They have to be recreated, you can't just reload a pointer from a
file...

Well, maybe I'm missing something...;^D

--

Bjoerge

<<Greg Lorriman skrev i meldingen <37d2dbf5.0@nnrp1.news.uk.psi.net>...
Find a memory mapped file TStream descendant on the delphi super page and
then read the VCL source. I suspect what you need can be done another way or
goes beyond the design and usage of TSession.

MegaBug <MegaBug@MegaBug.com> wrote in message
news:37d28478.27809841@news.imaginet.fr...
> How could I use "Memory Map File" for saving the Session Object ?
>
> for your solutions : mailto:bbeyssac@multimania.com
>
>>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads