Click here to Skip to main content
15,891,654 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: ReadProcessMemory() problem Pin
Richard Andrew x6423-Jun-10 14:20
professionalRichard Andrew x6423-Jun-10 14:20 
GeneralRe: ReadProcessMemory() problem Pin
ALLERSLIT23-Jun-10 14:23
ALLERSLIT23-Jun-10 14:23 
GeneralRe: ReadProcessMemory() problem Pin
ALLERSLIT23-Jun-10 14:44
ALLERSLIT23-Jun-10 14:44 
Questionchange color in c Pin
hasani200723-Jun-10 9:36
hasani200723-Jun-10 9:36 
AnswerRe: change color in c Pin
Rick York23-Jun-10 10:07
mveRick York23-Jun-10 10:07 
AnswerRe: change color in c Pin
Stephen Hewitt23-Jun-10 13:30
Stephen Hewitt23-Jun-10 13:30 
QuestionHow can a program in diferent PCs using the same DB be notified of a change? Pin
manchukuo23-Jun-10 9:14
manchukuo23-Jun-10 9:14 
AnswerRe: How can a program in diferent PCs using the same DB be notified of a change? Pin
Luc Pattyn23-Jun-10 9:28
sitebuilderLuc Pattyn23-Jun-10 9:28 
You can't reliably notify all interested PCs as some of them could be off-line or powered down. What you can do however is have a special table, row and field that contains say the "generation" number. And each of your applications could:
1. hold a copy of the generation number in a local file;
2. at start-up compare the database generation with the local copy, and when different, act on it.

It isn't clear what you want this for. There may be other and more appropriate ways depending on your goals.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use < PRE > tags for code snippets, it preserves indentation, and improves readability.


GeneralRe: How can a program in diferent PCs using the same DB be notified of a change? Pin
manchukuo23-Jun-10 16:24
manchukuo23-Jun-10 16:24 
GeneralRe: How can a program in diferent PCs using the same DB be notified of a change? Pin
Luc Pattyn23-Jun-10 16:39
sitebuilderLuc Pattyn23-Jun-10 16:39 
QuestionCan anyone please tell me why these initializations are causing BUS errors? Pin
M.manning23-Jun-10 8:47
M.manning23-Jun-10 8:47 
AnswerRe: Can anyone please tell me why these initializations are causing BUS errors? Pin
Code-o-mat23-Jun-10 9:06
Code-o-mat23-Jun-10 9:06 
GeneralRe: Can anyone please tell me why these initializations are causing BUS errors? Pin
M.manning23-Jun-10 9:26
M.manning23-Jun-10 9:26 
GeneralRe: Can anyone please tell me why these initializations are causing BUS errors? Pin
Code-o-mat23-Jun-10 9:35
Code-o-mat23-Jun-10 9:35 
AnswerRe: Can anyone please tell me why these initializations are causing BUS errors? Pin
Aescleal23-Jun-10 10:31
Aescleal23-Jun-10 10:31 
GeneralRe: Can anyone please tell me why these initializations are causing BUS errors? Pin
M.manning23-Jun-10 13:31
M.manning23-Jun-10 13:31 
QuestionHOW to save DC of onpaint(); in SDI MFC C++? Pin
humais23-Jun-10 8:40
humais23-Jun-10 8:40 
AnswerRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
CPallini23-Jun-10 9:16
mveCPallini23-Jun-10 9:16 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
humais23-Jun-10 9:20
humais23-Jun-10 9:20 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
humais23-Jun-10 9:24
humais23-Jun-10 9:24 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
CPallini23-Jun-10 10:37
mveCPallini23-Jun-10 10:37 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
humais23-Jun-10 19:46
humais23-Jun-10 19:46 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
Cedric Moonen23-Jun-10 20:53
Cedric Moonen23-Jun-10 20:53 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
CPallini23-Jun-10 21:08
mveCPallini23-Jun-10 21:08 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
humais24-Jun-10 21:49
humais24-Jun-10 21:49 

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.