- Hans Groeneveld
- PowerBuilder
- Thursday, 4 January 2024 02:11 PM UTC
Our application (PB 2022 R2) connect to a SQL Anywhere 17 db.
By a inherited transaction object.
We do have also C# applications that also connect to the same database.
From the C# application we like to send a message to the PowerBuilder application.
The PB application should catch the message (by some event) and pops the message, or do something with it.
In SQL Anywhere we cal sent a message using the SQL statement MESSAGE.
For example:
MESSAGE 'this is a message' TO CLIENT FOR CONNECTION 123 ;
But how can I catch this message in the transaction object?
I googled for a while and found something around db_register_a_callback.
Anybody any idea how to solve this?
Maybe a complete other way..?
Thanks
Hans
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.