1. Bernhard Stoeter
  2. PowerBuilder
  3. Wednesday, 14 November 2018 13:14 PM UTC

When pbvm170.dll is missing I get an error message (dll missing).

Now I tried the JsonGenerator feature of PB2017R3 but forgot to deploy the pbjson170.dll. I got no error message but every call to JsonGenerator returned -1. Why do I get no corresponding error message?

A worse behavior occurs when I call HttpClient.SendRequest without deploying pbhttpclient170.dll. No error at all but a very strange behavior of the application, obviously it never leaves the SendRequest function.

I would prefer an error message in all those cases (xxx.dll missing).

Kind regards
Bernhard

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 14 November 2018 16:33 PM UTC
  2. PowerBuilder
  3. # 1

Hi Bernhard;

  Interesting ... the SendRequest command should have returned a  "-1" code in that case. If not, please open a support ticket for this issue.

  The JSONGenerator "-1" seems OK to me. I would rather a command fail silently with a proper indicator. However, in both these "-1" cases, I think that the PB Help file should also state that a "-1" could be the result of a missing DLL (and name the DLL in the Help).

Regards ... Chris

 

Comment
  1. Bernhard Stoeter
  2. Thursday, 15 November 2018 11:53 AM UTC
The SendRequest() returns NULL instead of -1.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 15 November 2018 14:28 PM UTC
Ahhh ... that is definitely a bug. Please open a support ticket for sure on that one. Many thanks!
  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.