Archive: Delete on Reboot Question for Dev


Delete on Reboot Question for Dev
I'm writing a plugin that will read the PendingFileRenameOperations key from the registry so I see what the system will be removing on reboot. Anyways, I've noticed that the uninstaller will write invalid (empty) strings to this registry value, which causes my read registry function to return with not everything read in because the uninstaller will write out a line containing '\0' between each file to delete on reboot. Is this a bug that needs to be fixed?


http://msdn.microsoft.com/library/de...movefileex.asp and have a look at the Remarks section... shows it's intended and is needed (as with a number of other OS apis where the files are null-limited with a double null to signify the end of the list). ain't win32 fun :)

-daz