Hi,
Is there any way to programatically enumerate 64 bit folder items from
control pannel in a 32 bit process in windows XP/vista 64 bit without
remoting to secondary 64 bit process?
Folowing sample will show only 32 bit control panel items when run from 32
bit process on xp64/vista64bit but will show all items in
XP32bit/Vista32bit.
Is there any MSDN reference that documents this behavior ?
(Currently here
http://msdn.microsoft.com/en-us/libr...72(VS.85).aspx
is no detail about differences between 32bit/64 bit behavior)
For simplicity I show the sample code in c#:
Thanks,
sandi_ro.
using Shell32; //added as COM refferece to shell32.dll
......
Shell shell = new Shell();
Folder controllPannel =
shell.NameSpace(ShellSpecialFolderConstants.ssfCON TROLS);
FolderItems items = controllPannel.Items();
Debug.Print("ControlPannel has {0} items\r\n", items.Count);
foreach (FolderItem fi in items)
{
Debug.Print("ControlPannel -> {0}\r\n", fi.Name);
}