G'day,
Can anyone point out some pointers to how I can notify a Delphi application that a particular record in my MySQL database has changed? Anything along the lines of the Interbase event system?
Ideas I looked at:
: Q4M :. ( http://q4m.31tools.com/ )
Pros: MySQL's own solution that does not require external daemons Cons: there is no Win32 build because of it, using Linux-specific Posix calls
: MySQL Message API :. ( http://messagequeue.lenoxway.net/ )
Pros: Reliable (using spread.org) Cons: no Win32 binary. Requires additional configuration and the .org distribution daemon.
: Custom User Function :.
I am trying to write a UDF that can use the Win32 PostMessage () API, so send a Windows message to a simple socket server.
Pros: integrated (albeit with external DLL dependency) with MySQL. It can be configured for my needs. Cons: I cannot get it to work (see Posting Custom MySQL function to send a Windows message ). Perhaps this is due to the fact that MySQL works as a service
Any pointers, ideas, etc. highly appreciated.
- D
mysql delphi notifications
Theedge
source share