2008/7/2 Owen Rudge owen@owenrudge.net:
This patch fixes bug #12534. It adds a check to the built-in control panel for any .cpl files in the registry, in addition to those .cpl files in the system directory.
Control Panel applets can also be registered in "HKCU\Control Panel\MMCPL".
Control Panel applets can also be registered in "HKCU\Control Panel\MMCPL".
Well, technically, they would be registered in the [mmcpl] section of control.ini, which is then mapped in the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\control.ini) to the appropriate registry entry. However, as far as I can tell, Wine's profile string functions don't currently support INI file mapping (there's a patch on the bug tracker, but it was never accepted, it seems), so if any old application did try to write to the control.ini file, it wouldn't end up in the registry. I could add a check for CPL entries in control.ini if desired using the GetPrivateProfileSection function, and if/when Wine does support INI file mapping, the code wouldn't then need updating to point to the "right" place.
Well, technically, they would be registered in the [mmcpl] section of control.ini, which is then mapped in the registry
(snip)
I could add a check for CPL entries in control.ini if desired using the GetPrivateProfileSection function, and if/when Wine does support INI file mapping, the code wouldn't then need updating to point to the "right" place.
That sounds like the right way to do it.
.ini file mappings are on Alexandre's todo list, fwiw: http://wiki.winehq.org/AlexandreJulliard --Juan
On Do, 2008-07-03 at 08:45 -0700, Juan Lang wrote:
Well, technically, they would be registered in the [mmcpl] section of control.ini, which is then mapped in the registry
(snip)
I could add a check for CPL entries in control.ini if desired using the GetPrivateProfileSection function, and if/when Wine does support INI file mapping, the code wouldn't then need updating to point to the "right" place.
That sounds like the right way to do it.
.ini file mappings are on Alexandre's todo list, fwiw: http://wiki.winehq.org/AlexandreJulliard --Juan
See also: http://bugs.winehq.org/show_bug.cgi?id=4096
2008/7/3 Owen Rudge owen@owenrudge.net:
Control Panel applets can also be registered in "HKCU\Control Panel\MMCPL".
Well, technically, they would be registered in the [mmcpl] section of control.ini, which is then mapped in the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\control.ini) to the appropriate registry entry.
While they may be registered there as well, I'm pretty sure that some versions of Microsoft Office register control panel applets in the key I mentioned.
While they may be registered there as well, I'm pretty sure that some versions of Microsoft Office register control panel applets in the key I mentioned.
Well, yes - what I meant is that the key at HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\IniFileMapping\control.ini maps any requests for control.ini, section [mmcpl] to HKCU\Control Panel\MMCPL.