View Single Post
  #2 (permalink)  
Old 08-01-2008, 05:05 AM
Sean Liming \(MVP\)
 
Posts: n/a
Default Re: Strange behaviour with USB Memory Stick


The USB flash disk when first inserted may take a few second to be mounted
in the system. Does you application account for that time?

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit

"Martin Dowie" <MartinDowie@discussions.microsoft.com> wrote in message
news:C45C7C46-D5EE-48AE-B97E-C9534C1F73C5@microsoft.com...
> We have a custom shell that litrally does nothing (just a Win32 app that
> returns 0).
>
> Using Scheduled Tasks we start our actual application "When I log on".
> This
> seemed to be fine - ethernet/display/keyboard/mouse/opengl all working [we
> had tried making the application the shell but it always just raised a
> memory
> access violation error].
>
> When we power up with a USB Memory Stick inserted (if present our app
> should
> read data files from it, not from the local hard disk). We can see the
> light
> on the stick flash (app accessing it) but the app fails to use the files
> on
> it.
>
> If we close the app and re-run it (via opening an Explorer window, then
> double-clicking on the app's .exe file), the app reads and uses the
> USB-based
> files, as required!
>
> Does anyone have any idea what could be happening???
>
> TIA, Martin
>


Reply With Quote