Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Call of OnCreate in a CTreeCtrl derived class Pin
madmax000124-Feb-08 3:51
madmax000124-Feb-08 3:51 
GeneralRe: Call of OnCreate in a CTreeCtrl derived class Pin
Mark Salsbery24-Feb-08 9:00
Mark Salsbery24-Feb-08 9:00 
GeneralRe: Call of OnCreate in a CTreeCtrl derived class Pin
madmax000124-Feb-08 9:25
madmax000124-Feb-08 9:25 
GeneralRe: Call of OnCreate in a CTreeCtrl derived class Pin
Julberto Danray24-Feb-08 14:59
Julberto Danray24-Feb-08 14:59 
GeneralRe: Call of OnCreate in a CTreeCtrl derived class Pin
Mark Salsbery24-Feb-08 20:49
Mark Salsbery24-Feb-08 20:49 
GeneralRe: Call of OnCreate in a CTreeCtrl derived class Pin
Julberto Danray25-Feb-08 4:19
Julberto Danray25-Feb-08 4:19 
GeneralRe: Call of OnCreate in a CTreeCtrl derived class Pin
Mark Salsbery25-Feb-08 5:40
Mark Salsbery25-Feb-08 5:40 
QuestionFTP Monitor Pin
Golden Lee24-Feb-08 0:10
Golden Lee24-Feb-08 0:10 
Dear Sir:
I want to monitor a remote directory hosted on an FTP server to check up whether there are some newer files (compared with my local downloads) or not. If any, new files will be downloaded automatically.

I understand in the rough how to do that. Firstly, start a timer and periodically examine certain FTP remote folder through the use of CFtpFileFind member functions to check up whether there are some newer files (compared with my local downloads, but keeping a download timestamp may be a good idea) or not. But in case that the file is not completly written to the remote FTP folder, and at the same time my FTP monitor thread is going to be activated to do its checking job. How can I cope with this kind of "race condition" as ideal as possible?

BTW, any recommendations to the source codes concerned either free or commercially available are highly appreciated. Any suggestions are heartily welcome!

Thank you!
GeneralRe: FTP Monitor Pin
Ed.Poore24-Feb-08 7:21
Ed.Poore24-Feb-08 7:21 
GeneralRe: FTP Monitor Pin
Golden Lee24-Feb-08 15:31
Golden Lee24-Feb-08 15:31 
GeneralRe: FTP Monitor Pin
Ed.Poore24-Feb-08 22:46
Ed.Poore24-Feb-08 22:46 
QuestionRe: FTP Monitor Pin
David Crow24-Feb-08 13:20
David Crow24-Feb-08 13:20 
GeneralRe: FTP Monitor Pin
Golden Lee24-Feb-08 15:15
Golden Lee24-Feb-08 15:15 
GeneralRe: FTP Monitor Pin
David Crow25-Feb-08 2:16
David Crow25-Feb-08 2:16 
QuestionTo automatically call a function at the end of each line Pin
Mushtaque Nizamani23-Feb-08 21:29
Mushtaque Nizamani23-Feb-08 21:29 
GeneralRe: To automatically call a function at the end of each line Pin
Christian Graus23-Feb-08 22:12
protectorChristian Graus23-Feb-08 22:12 
GeneralIs there any API or MFC function to read my server status. Pin
Royaltvk23-Feb-08 20:21
Royaltvk23-Feb-08 20:21 
GeneralRe: Is there any API or MFC function to read my server status. Pin
Mark Salsbery24-Feb-08 9:04
Mark Salsbery24-Feb-08 9:04 
QuestionHow can I get the rgb value from an image which is format48bpprgb? Pin
joejph23-Feb-08 17:51
joejph23-Feb-08 17:51 
GeneralRe: How can I get the rgb value from an image which is format48bpprgb? Pin
Christian Graus23-Feb-08 22:12
protectorChristian Graus23-Feb-08 22:12 
GeneralRe: How can I get the rgb value from an image which is format48bpprgb? Pin
joejph24-Feb-08 1:51
joejph24-Feb-08 1:51 
GeneralRe: How can I get the rgb value from an image which is format48bpprgb? Pin
Mark Salsbery24-Feb-08 9:08
Mark Salsbery24-Feb-08 9:08 
GeneralRe: How can I get the rgb value from an image which is format48bpprgb? Pin
joejph24-Feb-08 21:31
joejph24-Feb-08 21:31 
GeneralWhy? OpenURL(...)can not get all code of the page! [modified] Pin
chinakknd23-Feb-08 15:23
chinakknd23-Feb-08 15:23 
GeneralRe: Why? OpenURL(...)can not get all code of the page! Pin
Rajkumar R23-Feb-08 16:58
Rajkumar R23-Feb-08 16:58 

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.