PowerBuilder · Runtime error

R0009: Unresolved external reference or DLL function not found

What does R0009: Unresolved external reference or DLL function not found mean in PowerBuilder?

The application tried to link to an external function or object reference that could not be resolved, commonly a DLL function declared with DECLARE EXTERNAL FUNCTION that is not actually present or exported the way the declaration expects.

R0009: Unresolved external reference or DLL function not foundPowerBuilder Classic · Appeon PowerBuilder

Condition

The application tried to link to an external function or object reference that could not be resolved, commonly a DLL function declared with DECLARE EXTERNAL FUNCTION that is not actually present or exported the way the declaration expects.

Fix

Check the external function's exact name, calling convention, and argument types in the DLL against the DECLARE statement, and confirm the DLL itself ships alongside the executable.

Pending source verification. Not yet checked against official documentation.

Related runtime error