Tcommportdriver Delphi

Posted by admin
Tcommportdriver Delphi 7,7/10 2465 reviews
Delphi usbTcommportdriver Delphi

Wew, thanks a lot! I added a form to my current application with the code you provided. When changing the com port WndProc is called but not arrival. A close inspection of Msg shows that its Msg is indeed WMDEVICECHANGE. WParam is 7, not DBTDEVICEARRIVAL (all other are 0).

Delphi com port driver

Com Port Driver Delphinium

Changing the condition such that it is executed when WParam is 7, Dbi:= PDevBroadcastDeviceInterface (LParam); returns nil, I should have know because LParam = 0. WndProc is only called once when changing the com port. Any ideas?–Jan 8 '13 at 19:15.