1. David Flory
  2. PowerBuilder
  3. Monday, 27 January 2020 03:12 AM UTC

Have a small app that builds and runs in the IDE without issues or errors.  The .exe doesn't even open anything and there are no messages of any kind.  Using PB 2019 Trial and starting to get concerned.  Just sent out a question about menu errors that crash another app, but this one is way beyond me...

Any ideas?

David Flory Accepted Answer Pending Moderation
  1. Monday, 27 January 2020 18:20 PM UTC
  2. PowerBuilder
  3. # 1

Miguel:

Here's what I did.

Right before this, I had another problem with an app crashing when it couldn't find a window.  Fixed that by compiling without .PBD's.  Go figure.  So I thought maybe some external source was a problem. So...

I eliminated the .PBR from the project and copied the one .bmp I needed into the directory with the target.  Then I shut down power to the laptop and turned it back on. (A previous reboot didn't do anything...)

Made sure I had a 64 bit DSN out there and rebuilt and compiled. Ran perfectly!

Wish I could say that I knew what worked or even if there was something I should have seen along the way.  Will not be trying to recreate this one...

All's well that ends well (unless it happens again). 

 

Dave

Comment
  1. Miguel Leeuwe
  2. Tuesday, 28 January 2020 02:20 AM UTC
Thanks for explaining Dave!
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Monday, 27 January 2020 15:37 PM UTC
  2. PowerBuilder
  3. # 2

Resolved?

So what was the solution?

regards

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Monday, 27 January 2020 15:36 PM UTC
  2. PowerBuilder
  3. # 3

This might seem weird, but this exact same thing happened to me when compiling an EXE while running Kaspersky Free antivirus on the PC.

It caused the exe to have a different size as when I would generate the EXE without having the Antivirus active.

See: https://www.appeon.com/standardsupport/search/view?id=3275

 

Comment
There are no comments made yet.
Brad Mettee Accepted Answer Pending Moderation
  1. Monday, 27 January 2020 14:57 PM UTC
  2. PowerBuilder
  3. # 4

Have you tried /pbdebug? This should give you some indication of what the last event/line was.

From a CMD prompt, go to directory with EXE in it, and run "<filename> /pbdebug". Output file will be in the file named "<filename>.dbg".

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.