"Mesan" <> wrote ...
> No, it's a handler to launch one of our LOB apps. That way we can
> embed links in our programs and documents to launch a program and pull
> up a specific customer or loan, for example. It's been enormously
> useful and we've started to rely on it rather heavily. I'd sure like
> to find out how to make it work in Vista.
Hi Mesan,
In that case ... sorry, I dunno :-(
As a simple test, I compiled and installed the "alert" protocol handler
sample from MSDN:
http://msdn2.microsoft.com/en-us/lib...4.aspx#url_inv
On XP, this "alert" handler worked fine, as expected. Then I installed in in
Vista, creating the same HKCR keys to register the handler. The first time I
tried this, I got the same error you saw! Eureka, I thought - we were onto
something! Then I realised I was on 64 bit Windows; and I'd configurred the
"alert" keys under the 64 bit HKCR instead of under the SysWow64
Classes_Root. So I installed the "alert" protocol handler on a 32-bit Vista
machine instead; and this time the test "alert" handler worked perfectly,
the same as it did on XP.
The only diference is that on Vista, Internet Explorer throws up a "A
website wants to open content using this program on your computer" warning,
when the protocol handler kicks in. But I clicked OK to the warning, then IE
ran the alert.exe app with no problem. So in this minimal test scenario, all
that was needed to register and enable the alert protocol handler on Vista
was the same few HKCR reg keys that you'd use on XP.
I'm sure you'll be able to get your custom handler running on Vista ... but,
you may need to do a little bit of debugging to find out why it isn't
running, or what Vista is unhappy about. URLMon.dll in IE7 does not handle
exceptions itself, so you may need to put an exception handler into your own
code to catch the exception (if there is one).
Since this is more a developer-oriented question, you may get better results
by posting to one of the MSDN forums (whichever one looks most appropriate
for your environment):
http://forums.microsoft.com/msdn/default.aspx?siteid=1
Hope this helps a little bit; good luck with it. I'm sure you'll get it
working in the end.
--
Andrew McLaren
amclar (at) optusnet dot com dot au