Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Windows 64bit > Re: enumerating control pannel items from 32 bit executable on XP 64 bit and Vista 64 bit

Reply
Thread Tools

Re: enumerating control pannel items from 32 bit executable on XP 64 bit and Vista 64 bit

 
 
David B.
Guest
Posts: n/a
 
      01-20-2009
You might want to fix your date

--

Crosspost, do not multipost http://www.blakjak.demon.co.uk/mul_crss.htm
How to ask a question http://support.microsoft.com/kb/555375
Help Us Help You http://dts-l.net/goodpost.htm



"sandi_ro" <> wrote in message
news:...
> 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);
>
> }
>
>
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
enumerating control pannel items from 32 bit executable on XP 64 bit and Vista 64 bit sandi_ro Windows 64bit 2 01-28-2009 04:26 AM
Re: enumerating control pannel items from 32 bit executable on XP 64 bit and Vista 64 bit Lanwench [MVP - Exchange] Windows 64bit 0 01-21-2009 03:03 PM
Re: enumerating control pannel items from 32 bit executable on XP 64 bit and Vista 64 bit Homer J. Simpson Windows 64bit 5 01-19-2009 06:22 PM
RE: enumerating control pannel items from 32 bit executable on XP 64 b Carlos Windows 64bit 0 01-16-2009 11:28 PM
accessibility in control pannel SA Computer Support 0 10-25-2003 08:05 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57