reset-leo
December 15th, 2004, 06:09 AM
Hi!
in a replacement gina, i continuously poll a device connected to the usb to retrieve account information. unfortunately, the drivers for this device cause an ACCESS VIOLATION when i try to poll the device after usb gets unavailable. this is the case when i unplug the device or when the system goes down for standby.
i can live with my gina failing when i suddenly unplug the device, but i must solve the standby issue!
so:
- can i catch the access violation using something like try{}/catch{} ???
- can my replacement gina get notified when the system goes down for standby or wakes up???
:confused:
in a replacement gina, i continuously poll a device connected to the usb to retrieve account information. unfortunately, the drivers for this device cause an ACCESS VIOLATION when i try to poll the device after usb gets unavailable. this is the case when i unplug the device or when the system goes down for standby.
i can live with my gina failing when i suddenly unplug the device, but i must solve the standby issue!
so:
- can i catch the access violation using something like try{}/catch{} ???
- can my replacement gina get notified when the system goes down for standby or wakes up???
:confused: