OpenNETCF.IO.FileSystemWatcher class

  • Thread starter Thread starter stefano_mi74
  • Start date Start date
S

stefano_mi74

I'm using this class but when I call
watcher.EnableRaisingEvents = true;
the program crash "Impossibile to found aygshell.dll" .. In my program
library reference I add OpenNETCF assembly. Is correctly ?

thanks
stefano
 
The FileSystemWatcher relies on the existence of the aygshell.dll helper
library. It sounds like your device doesn't have it in the image. There's
not much recourse for you except either using a thread to watch the folder
or hooking into the notification queue directly (which is fairly complex but
documented for native code on the web).

Not that it helps a lot right now but the next version of the SDF will also
contain a FileSystemMonitor class which is very similar to the FSW but
doesn't require aygshell or a application Form plus it can run on a
background thread (all limitations of the current FSW architecture).


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
 
The FileSystemWatcher relies on the existence of the aygshell.dll helper
library. It sounds like your device doesn't have it in the image. There's
not much recourse for you except either using a thread to watch the folder
or hooking into the notification queue directly (which is fairly complex but
documented for native code on the web).

Not that it helps a lot right now but the next version of the SDF will also
contain a FileSystemMonitor class which is very similar to the FSW but
doesn't require aygshell or a application Form plus it can run on a
background thread (all limitations of the current FSW architecture).

--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded Worldwww.OpenNETCF.com







- Mostra testo tra virgolette -

thanks for your answer, but Is it possible add to my image this
library ? Which is the component that I must include in my Platform
Builder project ?
 
Add aygshell (Core OS -> Windows CE Devices -> Shell and USer Interface ->
Shell -> AYGShell API Set or SYSGEN_AYGSHELL).


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
 
Add aygshell (Core OS -> Windows CE Devices -> Shell and USer Interface ->
Shell -> AYGShell API Set or SYSGEN_AYGSHELL).

--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded Worldwww.OpenNETCF.com







- Mostra testo tra virgolette -

ok thanks !
Instead where I found FileSystemMonitor class ?
 
The FileSystemMonitor will be in the next SDF release. We don't currently
have a release schedule for it becasue we don't have time right now to
devote to it. I'm pretty sure it will be before the end of the year, but
again, that doesn't help you now.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com


Add aygshell (Core OS -> Windows CE Devices -> Shell and USer
Interface ->
Shell -> AYGShell API Set or SYSGEN_AYGSHELL).

--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded Worldwww.OpenNETCF.com




On 11 Set, 16:03, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
The FileSystemWatcher relies on the existence of the aygshell.dll
helper
library. It sounds like your device doesn't have it in the image.
There's
not much recourse for you except either using a thread to watch the
folder
or hooking into the notification queue directly (which is fairly
complex
but
documented for native code on the web).
Not that it helps a lot right now but the next version of the SDF will
also
contain a FileSystemMonitor class which is very similar to the FSW but
doesn't require aygshell or a application Form plus it can run on a
background thread (all limitations of the current FSW architecture).

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded Worldwww.OpenNETCF.com
I'm using this class but when I call
watcher.EnableRaisingEvents = true;
the program crash "Impossibile to found aygshell.dll" .. In my
program
library reference I add OpenNETCF assembly. Is correctly ?
thanks
stefano- Nascondi testo tra virgolette -
- Mostra testo tra virgolette -
thanks for your answer, but Is it possible add to my image this
library ? Which is the component that I must include in my Platform
Builder project ?- Nascondi testo tra virgolette -

- Mostra testo tra virgolette -

ok thanks !
Instead where I found FileSystemMonitor class ?
 
Back
Top