If the cause is not immediately apparent, use these tools to trace the failure: PowerBuilder Application Execution Error R0035!
The OLEObject variable was declared but not properly connected using ConnectToNewObject or ConnectToObject before the function call. powerbuilder application execution error r0035
: Before calling the external function, wrap the code in an IsValid() check to ensure the object is instantiated. If the cause is not immediately apparent, use
Need further assistance? Leave a comment below or contact your application vendor with the details above. Need further assistance
Copy the application EXE and all required PBD/DLL files into a single folder on a clean test machine. If it works, the issue is environmental.
: If you are running a 32-bit PowerBuilder application on a 64-bit Windows OS, ensure the external object is registered in the 32-bit registry hive and that you are using 32-bit compatible drivers/libraries.
.