1. Sufyan Maghur
  2. PowerBuilder
  3. Wednesday, 23 November 2022 16:35 PM UTC

Migrating an application from PowerBuilder 8 and getting an error message about accessing an EXTERNAL function pfc_printdlg (pbvm80.dll) even though the .dll is in the directory

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 23 November 2022 16:44 PM UTC
  2. PowerBuilder
  3. # 1

Hi Sufyan;

  That is because you did not replace the old PFC layer from the PB v8.x app. The old PFC used this external DLL for printing.  The use of that DLL was removed in newer PFC versions as it was obsolete.

HTH

Regards .... Chris 

 

 

 

Comment
There are no comments made yet.
Sufyan Maghur Accepted Answer Pending Moderation
  1. Wednesday, 23 November 2022 16:51 PM UTC
  2. PowerBuilder
  3. # 2

Hi Chris...

 

The client had many modifications to the PFC... It is difficult to replace (I a mot sure I have access to a newer version)

 

I will try and replace this function in the CODE... What does it do BTW? Just pops up the PRINT Dialogue?

Comment
  1. Roland Smith
  2. Wednesday, 23 November 2022 17:08 PM UTC
This external function was replaced by the showPrintDlg argument to the Print function.

dw.Print(canceldlg, showPrintDlg)
  1. Helpful 2
  1. Olan Knight
  2. Wednesday, 23 November 2022 22:15 PM UTC
^^^^^ What Roland said.

You need to look in the PFC/PFE code and replace the pfc_pfntdlg call with the new one.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 23 November 2022 17:19 PM UTC
  2. PowerBuilder
  3. # 3
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.