Printing error in powerbuilder 9

Posted on 2008-02-12
Medium Priority
Last Modified: 2013-12-26
I have a PB9 application. When I tried to print a report,
I got an error:
Error Opening DLL Library pfccom32.dll for external function at line 39 in function of_printdlg of object pfc_n_cst_platformwin32

There is no dll change or anything of that sort happened in the powerbuilder.
What could be the reason ? How can this be resolved?

This occurs only when I perform File -> Print.
Its printing fine when I click on the print ICON!
Question by:rakesh_rl
1 Comment

Accepted Solution

mj_norwich earned 750 total points
ID: 20885424
pfccom32.dll is used in older version (PowerBuilder 6.5), newer versions have external call to pbvm80.dll (pbvm90.dll)

You can change 'Local External Function' declaration in object PFC_N_CST_PLATFORMWIN32 (pfcapsrv.pbl) as:
function long PFC_PrintDlg (ulong hwnd, ref s_printdlgattrib printstruct) library "pbvm80.dll"


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question