Hello,
I am struggling with an apparently simple process.
Need to pass a String from one application in Powerbuilder to another Application in Powerbuilder.
As I'm doing:
APP1: "Send (gl_handle, 1024, 0, 'Hello World')"
APP2: event pbm_custom01
string ls_info = String (lparam, "address")
But the variable ls_info is coming empty. And when u do a test with the same "Send" from APP2 to APP2 (same application) is working. Only when I try to send a String through different applications it comes empty. What am I doing wrong?
Thanks in advance.
Using TCP/IP socket programming you can send any type of data between any type of PB App on a local or remote machine ...
FYI: http://chrispollach.blogspot.com/2019/12/socket.html
In the above example, I send entire binary data streams (DataWindows) back & forth!
HTH
Regards ... Chris
I clicked where it says "STD Framework's website by clicking 'here' ".
The sourceforge page when clicked on 'Here'
https://sourceforge.net/projects/stdfndclass/files/Applications/PowerBuilder/Socket
I am a bit confused about the downloaded sample which shows me OCR example.
But page explains all about Socket. Also the video is about Socket. I guess the url is not correct.
Could you please check that for me. Thank you.
True regards,
Berka
The links are correct. The download is for the use of TCP/IP to communicate between PB Apps. This feature is much more robust than using the Send() or SendMessage() methods.
I just checked the link again & the download is correct on my latest test. If you are getting something else, I would suggest that you clear your web browser's cache & then try again.
Regards ... Chris