Notification of Driver Unloading
- From: "Bill T" <billthe@xxxxxxxxxxx>
- Date: Thu, 18 May 2006 19:45:39 -0500
We are using using an FDTI USB to serial adapter with our proprietry X86
hardware running CE 5.0 and everything works geat until the adapter is
disconnected while the COM port is communicating. There are exceptions, the
system hangs and ultimately our hardware watchdog resets. It appers that
this happens becuase the applications is communicating with the COM port
while the USB to servir drive is attempting to unload. Since we can not
prevent our users from disconnecting at will, we need to find a programatic
solution. We have several ideas but don't know if they are viable, please
comment on these ideas and offer new ones if you have any.
1. Prevent the USB to serial driver from unloading, Would this prevent the
crash? Is there any way to do it?
2. Stop communicating with the adapter when the app is notified that the
driver is unloading. Is there any notification like this? Would it be fast
enough?
.
- Follow-Ups:
- Re: Notification of Driver Unloading
- From: SergeiR
- Re: Notification of Driver Unloading
- From: Silver
- Re: Notification of Driver Unloading
- Prev by Date: Re: Build Error: only 4K page alignments with the file system.data.sqlserverce.dll
- Next by Date: Re: Cold boot control.
- Previous by thread: new PB integrated in Visual Studio
- Next by thread: Re: Notification of Driver Unloading
- Index(es):
Relevant Pages
|