How do I catch exception in AxAcroPDFLib?


how work around following fatal error:  accessviolationexception

steps reproduce error:

1. ms visualstudio 2010

2. create usercontrol, add button components form.

3. add reference acrobat com component axacropdflib

4. run application, ax.loadfile(@"c:\test.pdf");

5. click button

    private void button1_click(object sender, eventargs e)

    {

          axacropdf1.setcurrentpage(int.parse(strpageno));

    }

6. repeatedly click

 

 

when call several times in function "setcurrentpage", error happened, program down. , program can't catch exception.(access violation)

when error generated libaxacropdf described above, can catch exception in program?

 

 

platform:

windows 7, 32bit

adobe reader 9 (9.4.6)

microsoft visual studio 2010 professional



More discussions in Acrobat SDK


adobe

Comments

Popular posts from this blog

Adobe Acrobat Pro , Terminal Server Use

Thread: transmission-daemon isn't playing nice: "409: Conflict"

Thread: gpg: Conflicting Commands