|
From: jimhunt22 on 17 Jun 2008 03:25 Hi I have a DirectShow application written in C++. Everything works well with it (preview direct to screen, capture still images, stop the preview, etc.) except when the device goes into suspend. When powering on again the preview is still and will not resume. If I shut down the application and restart it, it fails to load the camera driver and I have to reboot. I have tried handling the power notification messages which I am receiving but it doesn't help - I think although I receive the power notification on suspend (POWER_STATE_SUSPEND), this really is just a posted message and so the device powers off before my code has a chance to uninit DirectShow. Basically DirectShow throws a wobbly if the filter graph has been started and the device goes into suspend mode. I guess I must be doing something silly as this is too big a problem not to have been seen by MS, so has anyone else come across this issue? Jim
From: jimhunt22 on 18 Jun 2008 05:44 On 17 Jun, 08:25, jimhun...(a)googlemail.com wrote: > Hi > > I have a DirectShow application written in C++. Everything works well > with it (preview direct to screen, capture still images, stop the > preview, etc.) except when the device goes into suspend. When powering > on again the preview is still and will not resume. If I shut down the > application and restart it, it fails to load the camera driver and I > have to reboot. > > I have tried handling the power notification messages which I am > receiving but it doesn't help - I think although I receive the power > notification on suspend (POWER_STATE_SUSPEND), this really is just a > posted message and so the device powers off before my code has a > chance to uninit DirectShow. Basically DirectShow throws a wobbly if > the filter graph has been started and the device goes into suspend > mode. > > I guess I must be doing something silly as this is too big a problem > not to have been seen by MS, so has anyone else come across this > issue? > > Jim In addition to the above I have tested this with the MS WM 6.0 SDK sample and I get the same problem. Has no-one used DirectShow in anger before on the PDA?
|
Pages: 1 Prev: new Smart Device Project time Next: How to setup barcode scanning from Pocket PC? |