> From: Juanma Barranquero <lek...@gmail.com> > Date: Mon, 19 Oct 2015 16:24:35 +0200 > Cc: Rob Davenport <rob.davenp...@gmail.com>, > "help-emacs-windows@gnu.org" <help-emacs-windows@gnu.org>, Ben Key > <bke...@gmail.com> > > On Mon, Oct 19, 2015 at 6:46 AM, Eli Zaretskii <e...@gnu.org> wrote: > > > > > From: Rob Davenport <rob.davenp...@gmail.com> > > > Date: Mon, 19 Oct 2015 00:10:34 +0000 > > > > > > Addpm could be modified to add the app id when it creates the shortcut, > > > and > > > eliminate step 2. > > > > Do you know how to do that from a C program? I didn't find a way, but > > I'm not an expert on that stuff. > > The (BSD-licensed) code for Win7AppId is accessible from here: > > https://code.google.com/p/win7appid/
Thanks. This is C++, whereas I meant C. The relevant COM interfaces are all defined in C++, so it's a small wonder it should be possible to do in C++. It doesn't even compile with g++, at least not with mingw.org's headers. Maybe MinGW64's g++ will succeed, I don't know. I will try to convert this into C, if no one beats me to it, and see if it's possible.