If a user reports R0035, ask these questions:
Wrap your main application with a loader EXE that: powerbuilder application execution error r0035
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 a user reports R0035, ask these questions:
PBDs can become corrupted due to:
| Strategy | Implementation |
|----------|----------------|
| Use Relative Paths | Never hardcode C:\ or \\server\ in project library lists. |
| Automated Build Scripts | Use PowerBuilder ORCA (Open Runtime Call Interface) to compile from CI/CD pipelines and verify all PBDs are generated. |
| Pre-Launch Health Check | Write a small utility that checks file existence, size (>0 bytes), and version stamp before launching main EXE. |
| Shadow Copy Deployment | Deploy new version to a new folder, then update a symlink. This avoids "file in use" errors and missing PBDs during cutover. |
| PBD Merging | For final production builds, merge all PBDs into one or two large PBDs. Fewer files = fewer chances for R0035. | | | Automated Build Scripts | Use PowerBuilder