New Forum | Previous | Next | (P-PDF) Developers
Topic: Developing Dig Sig plug-in
Conf: (P-PDF) Developers, Msg: 52795
Date: 5/29/2002 04:54 PM
I'm trying to develop a plug in using the Digital Signature API in Acrobat 4.0. I'm following instructions provided by Jim Pravetz's slides from the Adobe Developer Conference '98.
In my DSCommitSign callback, I allocate memory for the offsetArray which will contain 2 entries, one for "Contents" and one for "ByteArray" However, once my DSCommitSign callback returns control to Acrobat, I get an memory access violation which terminates Acrobat.
I can't seem to debug what it is that's causing the failure. It's most likely something in my offsetArray. If I send only one item in the offsetArray, control will reach my DSFinishSign callback. But there has to be at least two entries in the offsetArray to properly embed a signature.
Can anyone suggest a course of action?