8 Replies Latest reply: Oct 26, 2010 8:05 AM by andrejusc RSS

    Need documentation clarification on AVDocOpenFromFile call

    andrejusc Community Member

      In Acrobat SDK version 8.1 for AVDocOpenFromFile call in documentation it was written:

       

      Note:Do not open and then immediately close an AVDoc without letting at least one event loop complete.

       

      My question - how could I make such one event loop programatically? For example my plugin opens some PDF and then if some condition is true - wants to close it? How should I place that event loop lgic between open/close steps? If possible - I need C/C++ code for that.

       

      Is it still the same for SDK v9.x?