1. Sanjay Shivade
  2. PowerBuilder
  3. Friday, 4 October 2019 16:07 PM UTC

Hi,

We are getting 64-bit executables are throwing "Error opening DLL library pbws32.dll external function at line 17 in function getipaddress of object in event/function".

Could you let us know how to resolve this? I looked at one the post here but couldn't follow it completely.

I will really appreciate your help.

 

Thanks

Sanjay

 

Attachments (1)
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 4 October 2019 16:58 PM UTC
  2. PowerBuilder
  3. # 1

PBWS32.DLL was provided as part of PowerBuilder 5.

Try my Winsock example, it supports 32bit and 64bit.

http://www.topwizprogramming.com/freecode_winsock.html

 

Comment
  1. Sanjay Shivade
  2. Friday, 4 October 2019 17:37 PM UTC
We will give it a try. Thanks
  1. Helpful
  1. Michael Kramer
  2. Friday, 4 October 2019 18:03 PM UTC
Sanjay, I would pick Roland's free code sample leveraging standard O/S functionality. PowerBuilder 5 was developed ~25 years ago. I see no reason picking 3rd party code serving a tech niche 25 years ago when similar or "better" functionality is now part of the O/S.

My two euro-cents worth of recommendations - /Michael
  1. Helpful
There are no comments made yet.
Michael Kramer Accepted Answer Pending Moderation
  1. Friday, 4 October 2019 16:18 PM UTC
  2. PowerBuilder
  3. # 2

Hi Sanjay,

You cannot call 32-bit DLLs from 64-bit executable.

As I remember, PBWS32.DLL is a third party DLL. It's name tells me it is probably a 32-bit compilation. So i expect you need a 64-bit version of "PBWS32.DL".

HTH /Michael

Comment
  1. Michael Kramer
  2. Friday, 4 October 2019 16:22 PM UTC
  1. Helpful
  1. Sanjay Shivade
  2. Friday, 4 October 2019 17:38 PM UTC
We will have a look. 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.