New Forum | Previous | Next | (P-PDF) Developers
Topic: Trouble with AVAppGetActiveDoc
Conf: (P-PDF) Developers, Msg: 103905
Date: 1/15/2004 04:24 AM
I have a plugin that exposes some methods to the outside world (I used ATL COM Wizard and then looked at the AddDispInterface example). I'm using Visual C++.
Methods work ok unless I try and use any of Acrobat's API (see below). This causes an unhandled exception. Is anyone able to tell me what is wrong with this?
AVDoc avDoc = AVAppGetActiveDoc(); // breaks on this line.