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 -