1. Jeffrey Alonzo
  2. PowerBuilder
  3. Wednesday, 17 July 2019

Hi Everyone,

 

We have a PB application (upgraded to PB2017R3) that's being invoked in a .net app(this is a desktop app) to perform backend processing. The .net app however, it crashes and needs to be restarted everytime.  The .net app has been migrated to VS2015(VB .net). 

 

I'm not sure if there are a lot of PB apps out there getting called inside a .Net app.  If you know one with similar behavior, are there any incompatibilities you discovered between PB app migrated to PB2017 and .Net app written in older version?

 

Thanks in advance,

 

Jeff

Who is viewing this page
Jeffrey Alonzo Accepted Answer Pending Moderation
0
Votes
Undo

I found something on the application logs in Event Viewer that 2 PB dlls crashes with different application at the same time.

PBVM170.dll crashes with .Net app - invoked within .NET app

PBDWE170.dll crashes with Maestro Job executable - PB app called using Perl script, Maestro Scheduler executes Perl script.

 

Used API Monitoring tool on a TestCase app and found these:

LoadLibraryW ( "C:\pb126t\build\unicode\DrawEx.dll" )	NULL	126 = The specified module could not be found
GetProcAddress ( NULL, "PBDWEUnregister" )	NULL	127 = The specified procedure could not be found

 

 

Comment
There are no comments made yet.
  1. Wednesday, 24 July 2019
  2. PowerBuilder
  3. # 1
Jeffrey Alonzo Accepted Answer Pending Moderation
0
Votes
Undo

Hi David,

 

Thank you for the reply.  It's being launch using code below:

Shell("C:\pbapp.exe " + fileName)

The variable filename is a string variable that can have the value of an actual file in the server, with the same name.  This file will contain values that serves as parameters when the PB app is called and opened using OpenWithParm.

This .NET app is originaly a VB6 app, and it worked well before the PB upgrade.

Thanks,

 

Jeff

 

Comment
There are no comments made yet.
  1. Wednesday, 24 July 2019
  2. PowerBuilder
  3. # 2
0
Votes
Undo

Hi

How are you launching the PB app from your .Net code?

MY gut says that the crash is being caused by the way that is being done...

Regards

David

Comment
There are no comments made yet.
  1. Friday, 19 July 2019
  2. PowerBuilder
  3. # 3
  • Page :
  • 1


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