Juran
Juran

Reputation: 177

Error .exe application after deploy but no error when building in Powerbuilder 9

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.

error after deployment

can anyone explain why this is happening? TIA

Upvotes: 1

Views: 1245

Answers (1)

Rich Bianco
Rich Bianco

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

Related Questions