Reputation: 177
I have this unusual instance when I deployed my Powerbuilder 9 project, and run the executable file (outside the powerbuilder IDE), it prompts an error. But when I tried running it using Powerbuilder IDE, there's no error.
can anyone explain why this is happening? TIA
Upvotes: 1
Views: 1245
Reputation: 4174
Add the objects to your PBR file before compiling (see PB help) along with bitmaps, datawindow objects that are needed but not directly referenced in the application.
Basically anything referenced dynamically gets left out because PB doesn't know to build-in the object. The other option you have is to change your compile settings for the project object. If you compile everything into one huge executable, versus compiling into an executable and PBD's (or DLL's) than PB uses different rules to determine what gets built into your runtime files.
Your problem is a very common one, and very easy to solve so good luck.
Upvotes: 1