Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Apr : Store DateTimeStamp

www.cryer.info
Managed Newsgroup Archive

Store DateTimeStamp

Subject:Store DateTimeStamp
Posted by:"Craig Hammon" (firebirdwebg..@hotmail.com)
Date:Thu, 3 Apr 2008 14:46:00 -0700

Hi,
I have a dll that is totally stateless.
Every x seconds, i want it to authenticate to my server. I want to store the
last time I connected etc.
But, I dont want it in any file or directory..

Is there some way to tie up a small chunk of memory? Im wanting to store a
TDateTime value..
Can I make it stay in memory even though the DLL is unloaded and loaded many
times?
In otherwords, is there some other way to make a sort of "Cookie" in memory?
Im afraid if I use the registry, I'll have trouble with Vista etc. security
etc..

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive