[EMAIL PROTECTED] writes:
> SHGetSpecialFolderPath should creates the special registry keys and
>directorys on the fly. Maybe "Common Files" is not jet implemented
>there. If the programm accesses the registry directly, it's at least
>bad style.
> The SHGetSpecialFolderPath could use language dependend resources.
>
Hallo,
this is the sequence of calls in the installation which aborted on the
missing CommonFile value. It seems it uses "bad style"...
Call advapi32.227: RegOpenKeyExA(80000002,004130dc
"SOFTWARE\\Microsoft\\Windows\\CurrentVersion",00000000,00020019,407c6e2c)
ret=00402213 fs=008f
Ret advapi32.227: RegOpenKeyExA() retval=00000000 ret=00402213 fs=008f
Call advapi32.235: RegQueryValueExA(00000054,00413108
"ProgramFilesDir",00000000,407c6e28,411d0c20,407c6e30) ret=00402251 fs=008f
Ret advapi32.235: RegQueryValueExA() retval=00000000 ret=00402251 fs=008f
Call kernel32.779: lstrlenA(411d0c20 "d:\\program files\\") ret=0040225a fs=008f
Ret kernel32.779: lstrlenA() retval=00000011 ret=0040225a fs=008f
Call advapi32.235: RegQueryValueExA(00000054,00413118
"CommonFilesDir",00000000,407c6e28,411d0c20,407c6e30) ret=00402291 fs=008f
Ret advapi32.235: RegQueryValueExA() retval=00000000 ret=00402291 fs=008f
Bye
Uwe Bonnes [EMAIL PROTECTED]
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------