Skip to main content
Oct 5, 2012 10:58 AM UTC
Archived

Do not Use "HKCU\...\Shell Folders\AppData"

Related products:Creo Parametric

Creo Elements Drafting have a problem on Windows7.

Creo Elements Drafting have error message on start up.

  "Could'nt load layout.xml."

  "Could'nt load userdefinedcmds.xml."

  etc.

Creo Elements Drafting get "my_home_directory" path from registory.

This registory key is as follows.

   HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\AppData

But On Windows7, This registory key can not use.

Please see this  registory key on regedit.exe.

You can look at this message soon.

!Do not use this registry key

Use the SHGetFolderPath or SHGetKnownFolderPath function instead

This problem occurs after base userprofile copy to Default userprofile.

Because  the path of AppData in registory of Default userprofile is base user's one,

And a logon user's path of AppData in registory is not right.

Please Change method of getting  "my_home_directory" path.

Best regards.

1 reply

Mar 16, 2019 1:57 AM UTC
Status changed to: Archived