I am in the process of upgrading to XP 64. VS2008 is running fine but one
of my apps, which adds functionality to the Explorer context menu, just
won't work under XP 64.

Googling resulted in my finding an article saying that MSFT recommends
against writing shell extensions in managed code and does not consider
them a supported scenario.

So, can anybody point me to any articles relating to writing shell
extensions in non managed code specifically for XP 64? I am beginning to
think that XP 64 is a bit of a Cinderella OS, although the advent of Vista
has, at least, been responsible for the appearance of 64 bit drivers that
previously didn't exist!

--
Jeff Gaines

RE: Writing Shell Extensions / Extending Explorer Context Menu - XP 64 by jialge

jialge
Sun Apr 27 22:03:09 CDT 2008

Hello Jeff,

First off, for you request of articles relating to writing shell extension
in non-managed code specifically for x64 Windows system, I'd suggest:

the KB article http://support.microsoft.com/kb/895561
the technet article
http://technet.microsoft.com/en-us/magazine/cc162472.aspx
the codeproject series:
http://www.codeproject.com/KB/shell/shellextguide1.aspx

The first 2 articles explains why some shell extensions running well on
32bit systems are not displayed in x64-based Windows. They also point out
the key points when writing shell extensions for x64 system: any Explorer
shell extension must be recompiled for x64 in order to work.
The code project shell extension series contain eight articles or so,
giving a very detailed step-by-step demonstration of how to write shell
extension with non-managed code (chiefly for x86).

Thus, we can reference the three articles all together, and convert the

Re: Writing Shell Extensions / Extending Explorer Context Menu - XP 64 by Jeff

Jeff
Mon Apr 28 06:52:04 CDT 2008

On 28/04/2008 in message <nokrlxNqIHA.5740@TK2MSFTNGHUB02.phx.gbl>
Jialiang Ge [MSFT] wrote:

>First off, for you request of articles relating to writing shell extension
>in non-managed code specifically for x64 Windows system, I'd suggest:

[snipped]

Many thanks Jialiang, I particularly liked the title "When I'm x64" which
is a bit close to the truth for me :-)

Lots of reading to do which will be interesting, looks like I need to
learn C++ as well which will keep my brain active.

--
Jeff Gaines

Re: Writing Shell Extensions / Extending Explorer Context Menu - XP 64 by jialge

jialge
Mon Apr 28 11:30:38 CDT 2008

Hello Jeff,

As I said I would talk with some experienced shell extension developers
from the shell team to see if there is anything else we should pay special
attention to, a very famous shell developer inside Microsoft (He does not
want me to tell his name) confirmed that writing a 64-bit shell extension
is the same as writing a 32-bit shell extension. We are just doing it in
Win64. The rules are the same; there are no functionality differences.

If you have any other concerns or questions, feel free to let me know. You
are also welcome to post questions here if you encounter any problem when
writing the non-mananged shell extension in C++. We will be very happy to
help you.

Regards,
Jialiang Ge (jialge@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================