I’ve a FmxHost and Load VCLVisualPLugin.
In The VCLPlugin:
procedure WMDeviceChange(var Msg:TMessage); message WM_DEVICECHANGE;
I declare this to check the serial device plug and unplug.
It can work if only in vcl application.
However, when I put this in vclvisualplugin and load by a fmxhost.
The event seems not working cannot detect the device changes.
Any solution on this?
Joe