I am not shure what's wrong but the Registry-Loop always reads from the bottom to the top! (beginning with the last subkey-folder and in there beginning with the last regentry)
Code:
Loop, HKEY_LOCAL_MACHINE, MyProgramm, 1, 1
The problem is:
I write each entry into an ini-file for comparing-purposes.
Sometimes the software (not from me, but from my company) does something wrong in registry and I have to do a backup from my inifile.
Because the entrys are written in forward-way, but saved the other way my next backup-file is nearly completely different then my original (the subkeys are switched: the first has got the last and reverse).
So I have to write my backup, create a backup-file, write another time the registry (from recently made backup-file) and create a new file.
Couldn't the routine start above in registry?
I will write a little programm which switches my keys, but maybe someone in the future?
I hope you can reproduce it!
Thx in advance!
Thalon