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