Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Weblink driver

$
0
0

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!


Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>