Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionInsetObject effect the starting character selection Pin
ForNow23-Jun-10 7:50
ForNow23-Jun-10 7:50 
QuestionDebug with breakpoint works, but debug without breakpoint or release mode fails ? Pin
oppstp23-Jun-10 6:19
oppstp23-Jun-10 6:19 
AnswerRe: Debug with breakpoint works, but debug without breakpoint or release mode fails ? Pin
Code-o-mat23-Jun-10 7:00
Code-o-mat23-Jun-10 7:00 
GeneralRe: Debug with breakpoint works, but debug without breakpoint or release mode fails ? Pin
oppstp23-Jun-10 7:21
oppstp23-Jun-10 7:21 

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.