tags:

views:

44

answers:

2

anyone has an idea how to?

+1  A: 

Hi.

Are you using Windows CE? FindFirstChangeNotification should do the trick.

Best

Vagaus
why is it so difficult? is there any easy way like FileInfo in C#?
boreas
If you just want to list the files FindFirstFile()/FindNextFile() should be easier.If you want to "listen" for changes, then FindFirstChangeNotification() is the way to go.
Vagaus
thank you! exactly what i need.
boreas
+1  A: 

I suggest FindFirstFile() and FindNextFile().

Docs with nice example - http://msdn.microsoft.com/en-us/library/aa364418%28VS.85%29.aspx

James Roth