Closed shanxing2 closed 2 months ago
Hi @shanxing2 , what happens (only for test) if you change data in a single entry and not in a loop for all entries? I would understand if issue is action-loop related or if there's some problem in the single write/commit operation. Thank you
Yes, I have tested it and there are also issues when changing only a single entry.
Last comment,misoperation,I don't know how to undo the close operation.
I found that the length did not change after the modification.
Hi,i use openmcdf to modify '.automaticDestinations-ms' file in C:\Users\username\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations.I want to modify the username in the file, but I have encountered some issues. If i modify it use same length data it work good but not same length work incorrect.After modify,if the data length is the same,both StructuredStorageXplorer 2.3.1.0 and JumpListExplorer V2.0.0.0 can be read normally.However, if the data length is different, StructuredStorageXplorer can read it normally, but JumpListExplorer cannot read it properly, and the Windows system cannot recognize this file properly.
for example,file 'f01b4d95cf55d32a.automaticDestinations-ms',username is 'pty',i replace it to 'abc',it work good.However,if i replace it to 'abchhh',StructuredStorageXplorer and the Windows system cannot recognize this file properly. The error prompted by a is ‘Offest and length were out of bounds for the arrya or count is greater than the number of elements from index to the end of the source collection.’
Here is my code in vb.net.