Skip to main content
Inspiring
May 3, 2017
Question

Cannot initial API client in patched FM 2017

  • May 3, 2017
  • 4 replies
  • 2416 views

I have an FDK client that was developed in FM 12. While I did not test it extensively in the original release of FM 2017, it seemed to work. With the patch installed, it does not initialize (the "Cannot initialize API client ..." alert appears when I launch the patched FM 2017). Other older FDK clients initialize successfully with the patch.

What has changed that would affect some clients but not others? Does this one need to be recompiled?

This topic has been closed for replies.

4 replies

Adobe Employee
May 10, 2017

Hi,

Due to Xerces version number update some plugins that were using Xerces may not work.

We suspect these errors are coming because of this change.

Plugins should update to accommodate with new version of xerces, as a workaround please try with placing attached dll to fm_home.

Please try this solution and let us know if issue is still there.( remane .txt to .dll.)

http://ftp://cust-dl:$MPLr65489@sjftp.adobe.com/PPBU/File.zip

Thanks

Kunal

Known Participant
May 8, 2017

Lynne,

I have come across this with our plugins where I had inadvertently put a debug DLL on a system that did not have either of Visual Studio or the FDK installed, or with an incorrect version of a c# managed DLL, used by a plugin.

It would be useful if the actual problem causing the initialization to fail was reported.

Have you looked at the event log?  As an example I see some crashes being reported there with the DLL that had the exception listed.

Jon

frameexpert
Community Expert
Community Expert
May 4, 2017

I noticed the same issue with one of the DLLs that comes with FrameScript. It showed up after I installed the latest FrameMaker 2017 update.

www.frameexpert.com
Legend
May 4, 2017

Lynne, this error is usually indicative of a more serious problem, not a small change to the interface. The most common reason is that the DLL file is registered in maker.ini but simply doesn't exist. I'm sure you accounted for this possibility, but I'm just mentioning it to be thorough. Other reasons include an incompatibility between libraries, or possible a DLL compiled with dependencies that are not present in the applicable FM version.

What resources do you have at your disposal? Do you have the source code?

Russ

Inspiring
May 4, 2017

Rick,

   Has the problem been fixed? Is the DLL that no longer works the one used as a custom client to allow FrameScript to be used during SGML/XML import and export? (I ask because the one that no longer works for me is an import/export client.)

     --Lynne

frameexpert
Community Expert
Community Expert
May 4, 2017

Yes, as a matter of fact it does. FrameScript has 2 DLLs and the one that deals with structured import/export won't load with the latest update.

FslStruct=Standard,FrameScript Struct Import/Export,C:\Program Files (x86)\FrameScript6\FslStruct6_130.dll,structured

www.frameexpert.com