Click here to Skip to main content
15,894,540 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Difference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
«_Superman_»7-Jun-09 20:56
professional«_Superman_»7-Jun-09 20:56 
GeneralRe: Difference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
ptr_Electron7-Jun-09 23:21
ptr_Electron7-Jun-09 23:21 
AnswerRe: Difference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
CPallini7-Jun-09 21:03
mveCPallini7-Jun-09 21:03 
GeneralRe: Difference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
ptr_Electron7-Jun-09 22:56
ptr_Electron7-Jun-09 22:56 
GeneralRe: Difference between CWaitCursor SetCursor(LoadCursor(NULL, IDC_WAIT)); Pin
Chandrasekharan P8-Jun-09 0:00
Chandrasekharan P8-Jun-09 0:00 
QuestionMapViewofFile fails because memory not being continuous. Pin
krishnan.s7-Jun-09 20:38
krishnan.s7-Jun-09 20:38 
AnswerRe: MapViewofFile fails because memory not being continuous. Pin
«_Superman_»7-Jun-09 20:59
professional«_Superman_»7-Jun-09 20:59 
QuestionNetShareAdd with user permission Pin
Nyil7-Jun-09 20:13
Nyil7-Jun-09 20:13 
QuestionMaking GUI for Capicom Certificates Pin
UserNameless7-Jun-09 20:05
UserNameless7-Jun-09 20:05 
AnswerRe: Making GUI for Capicom Certificates Pin
Garth J Lancaster7-Jun-09 20:43
professionalGarth J Lancaster7-Jun-09 20:43 
GeneralRe: Making GUI for Capicom Certificates Pin
UserNameless7-Jun-09 20:49
UserNameless7-Jun-09 20:49 
QuestionMemory Alignment - 32 bit Pin
Richard Andrew x647-Jun-09 17:16
professionalRichard Andrew x647-Jun-09 17:16 
AnswerRe: Memory Alignment - 32 bit Pin
Joe Woodbury7-Jun-09 17:25
professionalJoe Woodbury7-Jun-09 17:25 
GeneralRe: Memory Alignment - 32 bit Pin
Richard Andrew x647-Jun-09 19:33
professionalRichard Andrew x647-Jun-09 19:33 
Question(Potential) Memory Mapped File question Pin
swjam7-Jun-09 15:53
swjam7-Jun-09 15:53 
AnswerRe: (Potential) Memory Mapped File question Pin
Joe Woodbury7-Jun-09 17:31
professionalJoe Woodbury7-Jun-09 17:31 
GeneralRe: (Potential) Memory Mapped File question Pin
swjam7-Jun-09 22:54
swjam7-Jun-09 22:54 
GeneralRe: (Potential) Memory Mapped File question Pin
Joe Woodbury8-Jun-09 5:28
professionalJoe Woodbury8-Jun-09 5:28 
GeneralRe: (Potential) Memory Mapped File question Pin
swjam8-Jun-09 18:30
swjam8-Jun-09 18:30 
GeneralRe: (Potential) Memory Mapped File question Pin
Joe Woodbury8-Jun-09 19:34
professionalJoe Woodbury8-Jun-09 19:34 
GeneralRe: (Potential) Memory Mapped File question Pin
swjam9-Jun-09 0:56
swjam9-Jun-09 0:56 
GeneralRe: (Potential) Memory Mapped File question Pin
Joe Woodbury9-Jun-09 5:51
professionalJoe Woodbury9-Jun-09 5:51 
AnswerRe: (Potential) Memory Mapped File question Pin
ktm TechMan7-Jun-09 20:30
ktm TechMan7-Jun-09 20:30 
You can use ReadDirectoryChanges WIN 32 API, which registers for file changes in a directory, and use GetQueuedCompletionStatus function to wait for the changes. So when ever new records get added to A you will get notification of the changes, and read the added record and archive it to B.
You can store a pointer on where you are in the file (like the number of bytes read) and continue from it when the next change arrive so that you don't have to read the whole file every time a change occurs.

If you want to delete contents from the file though you will need some kind of process synchronization to avoid simultaneous write.
QuestionEdit the windows BCD using linux Pin
SalilJain7-Jun-09 9:23
SalilJain7-Jun-09 9:23 
QuestionRe: Edit the windows BCD using linux Pin
David Crow7-Jun-09 16:35
David Crow7-Jun-09 16:35 

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.