Kbase P23118: Could not find the entrypoint . (3260) using the ProPrintFil
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/04/2003 |
|
Status: Unverified
SYMPTOM(s):
Could not find the entrypoint <function>. (3260)
Could not find the entrypoint _proprintfile. (3260)
ProPrintFile does not print
CHANGE:
Migration from Progress 8.x to Progress 9.x
CAUSE:
Differences between the ProPrint.dll for version 8.x in 16 bits than the ProPrint.dll for version 9.x in 32 bits.
FIX:
The following is the ProPrintFile procedure definition in Progress 8.x:
PROCEDURE ProPrintfile EXTERNAL "PROPRINT.DLL":
DEFINE INPUT PARAMETER hControl AS SHORT.
DEFINE INPUT PARAMETER fUseSetupDialog AS SHORT.
DEFINE INPUT PARAMETER hWndParent AS SHORT.
DEFINE INPUT PARAMETER nFontNo AS SHORT.
DEFINE INPUT PARAMETER lpszFile AS CHARACTER.
DEFINE INPUT PARAMETER nPages AS SHORT.
DEFINE RETURN PARAMETER Print_Result AS SHORT.
END.
The following is the ProPrintFile procedure definition in Progress 9.x:
PROCEDURE ProPrintFile EXTERNAL "PROPRINT.DLL":
DEFINE INPUT PARAMETER hControl AS LONG.
DEFINE INPUT PARAMETER fPrintFlags AS LONG.
DEFINE INPUT PARAMETER hWndParent AS LONG.
DEFINE INPUT PARAMETER nFontNo AS LONG.
DEFINE INPUT PARAMETER lpszFile AS CHARACTER.
DEFINE INPUT PARAMETER nPages AS LONG.
DEFINE RETURN PARAMETER Print_Result AS LONG.
END.
The second parameter name changes and the SHORT data type parameters must be changed as LONG data type.