cancel
Showing results for 
Search instead for 
Did you mean: 

Register the ODBC message callback function from PowerBuilder

4,427

In SQL Anywhere 11.0.1 the "MESSAGE ... FOR CONNECTION ... IMMEDIATE" syntax was added which allowed a second connection to receive a message promptly without needing to be making requests.
It is impossible to register the ODBC message callback function from PowerBuilder (see, please, http://sybase.public.sqlanywhere.general.narkive.com/Uh4GdI5g/implementing-database-push ).
Perhaps such a "callback" is feasible, for example, using external libraries for PB12.x ?

Accepted Solutions (1)

Accepted Solutions (1)

chris_keating
Product and Topic Expert
Product and Topic Expert

PowerScript does not support callbacks but the PowerBuilder Native Interface (PBNI) should. I have no experience with PBNI so I cannot confirm but perhaps you can raise a question in a PowerBuilder forum asking how to implement callbacks in PBNI. Historically, we have suggested creating a DLL that implements the callback and PB can call into the DLL to check for the return from the callback.

Answers (0)