I am creating a Weblink filter driver (based on WebLinkDemo sample from SDK) to handle one particular type of links.
Everything works OK, except for the “filtering” part:
if I determine that I DON’T want to handle this link – how do I invoke the Acrobat’s default handler?
I’ve tried returning false from my FollowLink() function – there was no visible effect.
I’ve also tried calling WWWOpenURL(avDoc, sURL, sFormData) as it soundls like it would do what I want, also with no visible effect.
At the moment I simply get the path to the default browser and run it with the passed in URL:
char* browserPath = GetAppSpecifier(false/*ASBool promptUser*/);
ShellExecute(0, 0, browserPath, sURL, 0, SW_SHOWNORMAL);
Is that the ONLY way to handle unwanted links?
Thank you!