dbTalk Databases Forums  

VFP 9: registry.prg

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP 9: registry.prg in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default VFP 9: registry.prg - 09-25-2006 , 12:06 AM






Is there anyone using registry.prg (as opposed to registry.vcx)?

The reason that I ask is that in trying to understand how it
works, I downloaded a lot of documentation. One point was that writes
to the Registry are lazy and so, may not happen for a while. Has
anyone noted problems with this?

I used RegFlushKey() to force the write. (This is not supported
by registry.prg.) The Registry documentation I have downloaded states
that this uses quite a bit of resources, but does not say exactly
what. Since I want to be able to print several reports in quick
succession, a delay is exactly what I do not want. Have you noted
forced Registry updates slowing your system?

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.

Reply With Quote
  #2  
Old   
Bernhard Sander
 
Posts: n/a

Default Re: VFP 9: registry.prg - 09-25-2006 , 04:19 AM






Hi Gene

Quote:
The reason that I ask is that in trying to understand how it
works, I downloaded a lot of documentation. One point was that writes
to the Registry are lazy and so, may not happen for a while.
AFAIK, Windows keeps parts of the Registry in memory for faster access and uses
the info from there. So writes to the Registry (the part in memory) are at once,
but saving changes of the Registry to disk are lazy.
I think, for your purpose of telling the file name to the PDF writer, it is not
necessary, that this volatile info ever reaches the disk.

Regards
Bernhard Sander


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.