New Forum | Previous | Next | (P-PDF) Developers
Topic: Exposing Functions from Plug-In
Conf: (P-PDF) Developers, Msg: 79187
Date: 1/9/2003 06:01 AM
I've got a plug-in written, and I'd like for the plug-in to expose a function that can be called by other applications. Since the plug-in is just a DLL with an API extension, this didn't seem too hard.
Now that I've done it, when I call the exposed function, it crashes with an access violation every time I call something from the Acrobat APIs within the exposed function. My first line is currently:
ASAtom cs = ASAtomFromString("Cstring");
...and this is the line that causes the access violation.
Does anyone know how I can get this to work?