cancel
Showing results for 
Search instead for 
Did you mean: 

Foxit Reader AX OCX Control

04-20-2016 8:03 PM
703 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Has anyone experience or is currently working with the FoxitReader_AX.OCX control? We've had great success with the 4.0.1 version, but for some reason we now get an error accessing external function call to OpenFile() in the 5.2 version. Gone thru all the steps of unregistering and registering the new one, and so and see no reason why it would error. Anyone have similar experience and can shed some light?

Thanks

Greg

PowerBuilder 12.6 Classic

FoxitReader_AX.OCX

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Greg;

  FWIW: I have never used this 3rd party product but we went through a similar situation last year when upgrading an imaging OCX. After the OCX upgrade, the control would not work. We finally found the issue with the product as the vendor added a new "of_init()" method. We found out (the hard way) if you never called this method, the control would not work leading to a crash of the PB Application.

   I'm not sure it this is your issue - but, wanted to alert you to check the existing method signatures for new arguments, look for new methods that may need to be called OR methods that may need to be called in a different order.

   Also, if your passing things by REF - make sure you pad out the memory space of the Ref variables before calling the OCX'sd methods.

HTH

Regards ... Chris

Former Member
0 Likes

Thanks Chris.

We're still not sure what is causing the error, but we've had success on a different build machine with the 5.2 OCX control. I'm thinking this may have something to do with Environment variables and/or .NET Framework versioning... we'll see.

Thanks for the feedback.

Regards,

Greg