[fpc-pascal] MQTT package for freepascal/lazarus?
Jean SUZINEAU
jean.suzineau at wanadoo.fr
Mon Oct 24 16:17:03 CEST 2022
If your main program is a console program, it's likely that you'll need
to call CheckSynchronize( from unit Class) in your main program/main
thread from time to time in order to allow the execution of calls of
methods specified in Synchronize in your thread (which reads mqtt messages).
I'm not 100% sure for recent freepascal, but I needed to do this in a
pascal dll (with threads) called by a C++ program, the all running in
console.
More information about the fpc-pascal
mailing list