We have an application that was originally developed in PowerBuilder 6. It was migrated along up to 12.5.2. We have now migrated it to PowerBuilder 2019. We are having an issue when using PSLib5.dll. This dll is dated 1996. Does anyone know if there is a newer version of it?
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- PSLib5.dll causing a socket error
- Teresa MacDonald
- PowerBuilder
- Wednesday, 4 March 2020 17:11 PM UTC
- Thursday, 5 March 2020 16:43 PM UTC
- PowerBuilder
- # 1
Hi
As I understand it this has worked fine for PB12.5.2, does that include this one user that failes now. I.e. can you run te pb12.5.2 on their machine and it works?
You say that you get a socket error, I wonder if there is a firewalling issue blocking the connection on that PC?
- Wednesday, 4 March 2020 19:53 PM UTC
- PowerBuilder
- # 2
Thank you for your suggestions.
- Chris Pollach @Appeon
- Wednesday, 4 March 2020 20:01 PM UTC
-
Helpful Loading... Helpful 0
- Wednesday, 4 March 2020 18:28 PM UTC
- PowerBuilder
- # 3
Teresa;
The "PSLib5" DLL is from a 3rd party product known as PowerSocket. The product is now long gone along with the vendor. I suspect that your App using this for some sort of TCP/IP (socket) processing. However, PowerSocket's DLL is probably based on old ANSI 32 bit code. Since PB 10.0 of course, PB is now Unicode based as well. So moving up to any higher level of PB 10.0 or higher would probably encounter this run-time issue after migration.
My suggestion would be to replace the PowerSocket DLL with something like Chilat or SocketWrench (as a few examples) ...
Chilat: https://www.example-code.com/powerbuilder/socket.asp
SocketWrench : https://sockettools.com/socketwrench
You could also try Roland's free TCP/IP socket code for PB as well ...
https://www.topwizprogramming.com/freecode_winsock.html
HTH
Regards ... Chris
- Armeen Mazda @Appeon
- Wednesday, 4 March 2020 18:52 PM UTC
-
Helpful Loading... Helpful 0
- Chris Pollach @Appeon
- Wednesday, 4 March 2020 19:40 PM UTC
Hmmm ... could this be an issue of W7 vs W10 users?
-
Helpful Loading... Helpful 0
- Roland Smith
- Wednesday, 4 March 2020 21:49 PM UTC
-
Helpful Loading... Helpful 0
- Wednesday, 4 March 2020 17:47 PM UTC
- PowerBuilder
- # 4
Compiled in 32 bit. We have several customers using the same app. but only one having this issue. unable to determine the cause. I suspect it is their environment.
- Armeen Mazda @Appeon
- Wednesday, 4 March 2020 17:57 PM UTC
-
Helpful Loading... Helpful 0
- Armeen Mazda @Appeon
- Wednesday, 4 March 2020 18:15 PM UTC
-
Helpful Loading... Helpful 0
- Wednesday, 4 March 2020 17:41 PM UTC
- PowerBuilder
- # 5
Are you compiling 64-bit? Doesn't make sense that this DLL would work in 12.5.2 but not 2019... the core product source code is so similar.
- Page :
- 1
However, you are not allowed to reply to this question.