<div dir="ltr">I have a feeling that there might be a registry entry you can monitor. I cant remember where it is.<div>You could see what port gets assigned to it, search for it in the registry, then see what happens when you unplug it.</div><div>But I suspect that there will be code/components out there that will let you monitor USB better that that. I think the Jedi controls have a HID component. That might be of some use.</div><div><br></div><div>Jeremy</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 16, 2021 at 11:58 AM Marshland Engineering <<a href="mailto:marshland@marshland.co.nz">marshland@marshland.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm receiving serial data via USB interface using winsoft software. If I<br>
unplug the USB cable, my software crashes. Although there are some error<br>
routines within the serial software, I don't think it caters for the port<br>
suddenly disappearing. <br>
<br>
Where do I look for info on this type of error ? <br>
<br>
Thanks Wallace <br>
<br>
_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz" target="_blank">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" rel="noreferrer" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz" target="_blank">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br>
</blockquote></div>