1. Kiran Patel
  2. PowerBuilder
  3. Wednesday, 28 October 2020 08:09 AM UTC

Hello,

While Deploy and run my API Application on client pc, this error show.

"Faulting module name: PBSHR190.dll, version: 19.1.0.2353, time stamp: 0x5f1468c0"
Attach Error Log file

 

Event Viewer Log:

===========

Log Name: Application
Source: Application Error
Date: 27/10/2020 12:45:20 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: DESKTOP-7BQV2US
Description:
Faulting application name: siddhi20_64.exe, version: 2.0.459.2, time stamp: 0x5f1468bc
Faulting module name: PBSHR190.dll, version: 19.1.0.2353, time stamp: 0x5f1468c0
Exception code: 0xc0000005
Fault offset: 0x000000000015be73
Faulting process id: 0x16c4
Faulting application start time: 0x01d6ac30ce0e2626
Faulting application path: C:\pcs\Siddhi_api\siddhi20_64.exe
Faulting module path: C:\Program Files (x86)\Appeon\Shared\PowerBuilder\x64\PBSHR190.dll
Report Id: 3f5250ad-f7dc-462b-955a-8bc08e850efa
Faulting package full name:
Faulting package-relative application ID:
Event Xml:



1000
2
100
0x80000000000000

3203
Application
DESKTOP-7BQV2US



siddhi20_64.exe
2.0.459.2
5f1468bc
PBSHR190.dll
19.1.0.2353
5f1468c0
c0000005
000000000015be73
16c4
01d6ac30ce0e2626
C:\pcs\Siddhi_api\siddhi20_64.exe
C:\Program Files (x86)\Appeon\Shared\PowerBuilder\x64\PBSHR190.dll
3f5250ad-f7dc-462b-955a-8bc08e850efa




 

 

Build Application on APPEON PowerBulder 2019 R2 Build 2353
Server OS Windows 2019 64 Bit (Deploy C# app on IIS)
Client OS Windows 10 64 Bit

Help me to solve this issue, thank you in advance

Thank you and Regards
Kiran Patel

Attachments (1)
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 29 October 2020 15:50 PM UTC
  2. PowerBuilder
  3. # 1

Hi Kiran;

  Does the App work OK if compiled into a 32bit App EXE (M-Code or P-Code)?

Regards ... Chris

Comment
  1. Kiran Patel
  2. Friday, 30 October 2020 10:29 AM UTC
Hi Chris,



My Problem is solve now.

I am using External Function

Declare:

function boolean GetUserNameW(ref string lpBuffer, ref ulong nSize) library "ADVAPI32.DLL"



Calling:

boolean lb_rc

ulong lul_size = 255

string ls_name

lb_rc = GetUserNameW( ls_name, lul_size)



When Calling this function application crash.

But when i create new application and create same function n call same function then it not crash.

I don't understand why this happened.

one more thing i notice, now after build and run my application theme is not working.

Now when i run exe from my developer pc theme is not working but its working from PB IDE.





Thank you and Regards

Kiran
  1. Helpful
  1. Kiran Patel
  2. Wednesday, 4 November 2020 13:24 PM UTC
Hi Chrish,



My Both issue is resolve.



Thank you and Regards...

Kiran

  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 4 November 2020 16:52 PM UTC
Hi Kiran;

That is "awesome" news .. thanks for the feedback!

Regards ... Chris
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 28 October 2020 20:00 PM UTC
  2. PowerBuilder
  3. # 2

You probably have 32-bit references, such as 32-bit registry or 32-bit OCXs/DLLs.  Please go through this video carefully to successfully convert to 64-bit: https://www.appeon.com/developers/library/videos/migrating-powerbuilder-desktop-apps-64-bit.html

 

Comment
  1. Kiran Patel
  2. Friday, 30 October 2020 08:28 AM UTC
Hi Armeen, Thank you for reply



As explain in video i have change long datatype to longptr,

But same issue show, application crash.

As i test on different 64 Bit PC, on some it works and on other it not work.





Regards

Kiran





  1. Helpful
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.