Click here to Skip to main content
15,897,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralReceiving SMS on PocketPC Pin
anevemkz23-May-05 2:21
anevemkz23-May-05 2:21 
Generalsockets vs file-dropoff Pin
Tom Archer23-May-05 1:38
Tom Archer23-May-05 1:38 
GeneralRe: sockets vs file-dropoff Pin
ThatsAlok23-May-05 2:00
ThatsAlok23-May-05 2:00 
GeneralRe: sockets vs file-dropoff Pin
Tom Archer23-May-05 2:05
Tom Archer23-May-05 2:05 
GeneralRe: sockets vs file-dropoff Pin
ThatsAlok23-May-05 2:22
ThatsAlok23-May-05 2:22 
GeneralRe: sockets vs file-dropoff Pin
Tom Archer23-May-05 2:30
Tom Archer23-May-05 2:30 
GeneralRe: sockets vs file-dropoff Pin
ThatsAlok23-May-05 2:36
ThatsAlok23-May-05 2:36 
GeneralRe: sockets vs file-dropoff Pin
Ryan Binns23-May-05 4:06
Ryan Binns23-May-05 4:06 
Tom Archer wrote:
I know this works with .NET, but have never tried it with native code

It's a bit different but not too difficult. The main difference is that the FindFirstChangeNotification() function returns a handle that can be waited on with WaitForSingleObject() or WaitForMultipleObjects(). When the handle is signalled, you call ReadDirectoryChanges() to get the changes that have been made. Generally you would run this in a separate thread and signal your main thread when a change has been made.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: sockets vs file-dropoff Pin
Tom Archer23-May-05 13:38
Tom Archer23-May-05 13:38 
GeneralRe: sockets vs file-dropoff Pin
ThatsAlok23-May-05 17:33
ThatsAlok23-May-05 17:33 
GeneralRe: sockets vs file-dropoff Pin
Ryan Binns23-May-05 4:12
Ryan Binns23-May-05 4:12 
GeneralRe: sockets vs file-dropoff Pin
Tom Archer23-May-05 13:37
Tom Archer23-May-05 13:37 
GeneralUse Enter key in Edit box Pin
suncertification23-May-05 1:22
susssuncertification23-May-05 1:22 
GeneralRe: Use Enter key in Edit box Pin
toxcct23-May-05 1:27
toxcct23-May-05 1:27 
GeneralRe: Use Enter key in Edit box Pin
suncertification23-May-05 2:51
susssuncertification23-May-05 2:51 
GeneralRe: Use Enter key in Edit box [EDITED] Pin
toxcct23-May-05 2:57
toxcct23-May-05 2:57 
GeneralRe: Use Enter key in Edit box Pin
ddmcr23-May-05 1:34
ddmcr23-May-05 1:34 
GeneralRe: Use Enter key in Edit box Pin
suncertification23-May-05 2:53
susssuncertification23-May-05 2:53 
GeneralRe: Use Enter key in Edit box Pin
ddmcr23-May-05 4:06
ddmcr23-May-05 4:06 
GeneralRe: Use Enter key in Edit box [EDITED] Pin
toxcct23-May-05 4:10
toxcct23-May-05 4:10 
GeneralRe: Use Enter key in Edit box [EDITED] Pin
ddmcr23-May-05 7:03
ddmcr23-May-05 7:03 
GeneralRe: Use Enter key in Edit box [EDITED] Pin
toxcct23-May-05 20:17
toxcct23-May-05 20:17 
GeneralRe: Use Enter key in Edit box Pin
GDavy23-May-05 3:06
GDavy23-May-05 3:06 
GeneralSearchPath API fails in UNICODE debug build Pin
Vinaya23-May-05 1:00
Vinaya23-May-05 1:00 
GeneralRe: SearchPath API fails in UNICODE debug build Pin
Ryan Binns23-May-05 4:19
Ryan Binns23-May-05 4:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.