Subj : Using Prf* routines in window procs
To : Herbert Rosenau
From : Vitus Jensen
Date : Fri Jun 09 2000 05:39 pm
Moin Herbert,
08.06.00 21:15, Herbert Rosenau wrote a message to Vitus Jensen:
VJ>> But even if the user selected a network drive it would hang the
VJ>> PM if the network fails and my program uses
VJ>> PrfWriteProfileData() from WM_MOVE.
HR> OH NO! Post a WM_USER or use WM_SAVEAPPLICATION for that. WM_MOVE
HR> is the wrongest place you can find for that.
See, that's the reply i wanted to hear!
So the current design will not change: WM_MOVE updates memory structures about
the profile contents and WM_SAVEAPPLICATION uses PrfWriteProfileData() to dump
the changed entries to disk.
Bye,
Vitus
--- Sqed/rexx 395:
* Origin: ?OUT OF COFFEE ERROR. (2:2474/424.1)