G'day,
I want to use the Postmessage () call of the Windows API from MySQL UDF in MySQL 5.1.51 (XP SP3). I know that UDF (written in Delphi 2006) works by setting a dummy result for UDF.
The UDF syntax takes two integer parameters: one for the window handle and one for the message number. However, calling PostMessage () from my UDF throws an exception in mysqld and the service stops.
Any ideas or pointers? Alternatively, if someone can tell me how I can simulate IB Events for MySQL via AnyDAC and Delphi OR an alternative approach to receiving notifications when a record has changed in the database, then please show me the light.
- Donovan
mysql delphi user-defined-functions
Theedge
source share