Originally Posted by SilverBoy
Last day i need to detect wich USB device connected to or disconnected from computer in my project , so i wrote this component .
The component has two events :
Note : Both events has same parameters , you can get drive name of connected USB device in OnArrival or disconnected USB device OnRemoved event from Drive parameter , Drive parameter return drive name as string type .
Regards , Mojtaba Tajik
Can't make procedure call in these events. It errors: "An outgoing call can not be made because the application sends a synchronous call