1. Jesus Perez
  2. PowerBuilder
  3. Monday, 7 November 2022 17:35 PM UTC

I migrated my application from PowerBuilder 12.1 to 2021.

I did the full build but when try to deploy my proyect PowerBuilder sudenly closes without any error.

There is a log where I can check what is happening?

Who is viewing this page
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 10 November 2022 01:22 AM UTC
  2. PowerBuilder
  3. # 1

Hi,

I guess that when you "deploy" the application, you open the project and run the deploy?

Try doing it in another way:

- don't open the project

- right mouse click on the target

- choose the deploy option on the contextual menu.

 

This might sound weird, but has worked for me in the past. It's worth giving it a try.

regards.

Comment
There are no comments made yet.
Arthur Hefti Accepted Answer Pending Moderation
  1. Wednesday, 9 November 2022 04:32 AM UTC
  2. PowerBuilder
  3. # 2

Hi

Start the application with /PBDEBUG from the command line. If the runtime is found the app generates a file called <appname>.dbg which contains information about the DLLs loaded and contains each line executed. The app terminates after the last line you find in the file.

HTH
Arthur

Comment
There are no comments made yet.
Sivaprakash BKR Accepted Answer Pending Moderation
  1. Tuesday, 8 November 2022 06:16 AM UTC
  2. PowerBuilder
  3. # 3

Hello,

PB crashes on various conditions.
1.  Is that crashes without executing even a single line in open event of the application?  You can check that with a messagebox or similar (log file).
2.  If not try to find the line which is makes it to crash.   Again messagebox or log is your companion.
3.  That command is vital to arrive a solution.

For me, it was GetCurrentDirectory equivalent written sometimes a decade ago.   I replaced that code with GetCurrentDirectory solved that issue.  May be similar command may be the culprit.  Try to find that command.

Happiness Always
BKR Sivaprakash

 

Comment
  1. Miguel Leeuwe
  2. Wednesday, 9 November 2022 11:25 AM UTC
HAHA, Thanks for that John!
  1. Helpful
  1. Roland Smith
  2. Wednesday, 9 November 2022 14:26 PM UTC
The C types int and long are the same. The C types int/long are PB LONG. Therefore 'unsigned int' is PB ULONG.
  1. Helpful 1
  1. Miguel Leeuwe
  2. Wednesday, 9 November 2022 15:13 PM UTC
Thanks Roland!
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 7 November 2022 18:36 PM UTC
  2. PowerBuilder
  3. # 4

Is the PowerBuilder IDE what ends during deploy or the resulting executable?

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 7 November 2022 18:11 PM UTC
  2. PowerBuilder
  3. # 5

Hi Jesus;

  You need to make sure that...

  1. The new <AppName>.XML file generated in the PB2021 complication must also be copied with the App EXE to the deployment machine into the same folder.
  2. You need to also make sure that all the necessary runtime modules are also copied over to the deployment machine. You can get this detailed list from the PB help under the keyword search "runtime". 

HTH

Regards... Chris 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.