on 2013 Feb 21 6:00 AM
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 ?
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
47 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.