|
Power PDF Connector SDK
|
To test the functionality of a connector, use this quick checklist as a reference:
"[Power PDF install folder]\resource\Kofax\PDF\UILayout\Publish Mode.xml" contains correct references to the buttons of the connector and "%appdata%\Kofax\PDF\KofaxPDF\UILayout\Publish.xml" is deleted. Logging
Turn on logging by replacing recdiag_log.ini in the Power PDF installation folder (for example, "c:\Program Files (x86)\Kofax\Power PDF\") with the recdiag_log.in_ file which is also located in the installation folder. You can specify the log file name and path in the .ini file in the LogFileName parameter.
The logfile not only contains connector related entries, but many other modules also produce the log into the same file. You can find the list of connectors enumerated from the registry, and whether the application could successfully instantiate and initialize them. All calls to the connectors are also logged.
To debug your connector with Microsoft Visual Studio, you need to change the Command in the Debugging section of your project properties to Power PDF. (For example "c:\Program Files (x86)\Kofax\Power PDF\bin\PowerPDF.exe").
If you are debugging a managed connector, you also need to change the Debugger Type at the same place to Mixed or Managed only.