Click here to Skip to main content
15,910,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: 'fopen_s' and 'fscanf_s' Pin
jeron113-Jul-12 10:45
jeron113-Jul-12 10:45 
Questionsrand(time(NULL)); in MSDN 2010 Pin
mrby12313-Jul-12 7:04
mrby12313-Jul-12 7:04 
AnswerRe: srand(time(NULL)); in MSDN 2010 Pin
David Crow13-Jul-12 7:52
David Crow13-Jul-12 7:52 
AnswerRe: srand(time(NULL)); in MSDN 2010 Pin
Albert Holguin13-Jul-12 8:37
professionalAlbert Holguin13-Jul-12 8:37 
QuestionHow to undo drawing images in MFC.? Pin
mbatra3111-Jul-12 22:51
mbatra3111-Jul-12 22:51 
GeneralRe: How to undo drawing images in MFC.? Pin
Richard MacCutchan11-Jul-12 23:23
mveRichard MacCutchan11-Jul-12 23:23 
AnswerRe: How to undo drawing images in MFC.? Pin
Maximilien12-Jul-12 1:15
Maximilien12-Jul-12 1:15 
GeneralRe: How to undo drawing images in MFC.? Pin
mbatra3112-Jul-12 3:09
mbatra3112-Jul-12 3:09 
AnswerRe: How to undo drawing images in MFC.? Pin
Sunil P V14-Jul-12 22:09
Sunil P V14-Jul-12 22:09 
QuestionQuerying on existing recordsets Pin
SelvaKr11-Jul-12 21:20
SelvaKr11-Jul-12 21:20 
AnswerRe: Querying on existing recordsets Pin
Jochen Arndt11-Jul-12 21:45
professionalJochen Arndt11-Jul-12 21:45 
GeneralRe: Querying on existing recordsets Pin
SelvaKr11-Jul-12 23:04
SelvaKr11-Jul-12 23:04 
GeneralRe: Querying on existing recordsets Pin
Jochen Arndt11-Jul-12 23:24
professionalJochen Arndt11-Jul-12 23:24 
If you have it in memory, you won't get changings. And if you add code to support changings during runtime, you may not need a database.

Assuming that all modules must then use only one function to access the memory db, why not implement the only function using direct db access?

In both cases, that function must be thread safe using locking. I think that's your problem: You access the db from different threads which may fail when the db is locked by another thread. You will have similar problems when using a memory image that is modified when not using locking (but without getting an error message).
Questionvisual c++ mfc--adding control inside list control Pin
yasardiwan11-Jul-12 19:14
yasardiwan11-Jul-12 19:14 
AnswerRe: visual c++ mfc--adding control inside list control Pin
Richard MacCutchan11-Jul-12 23:21
mveRichard MacCutchan11-Jul-12 23:21 
AnswerRe: visual c++ mfc--adding control inside list control Pin
Albert Holguin12-Jul-12 11:09
professionalAlbert Holguin12-Jul-12 11:09 
GeneralRe: visual c++ mfc--adding control inside list control Pin
_Flaviu12-Jul-12 19:21
_Flaviu12-Jul-12 19:21 
Questionneed help with serial communications Pin
Luis Aberto Rodriguez11-Jul-12 13:29
Luis Aberto Rodriguez11-Jul-12 13:29 
AnswerRe: need help with serial communications Pin
Jochen Arndt11-Jul-12 21:37
professionalJochen Arndt11-Jul-12 21:37 
AnswerRe: need help with serial communications Pin
CPallini11-Jul-12 22:21
mveCPallini11-Jul-12 22:21 
AnswerRe: need help with serial communications Pin
WebMaster12-Jul-12 1:33
WebMaster12-Jul-12 1:33 
AnswerRe: need help with serial communications Pin
Sunil P V13-Jul-12 17:53
Sunil P V13-Jul-12 17:53 
GeneralRe: need help with serial communications Pin
Rolf Kristensen14-Jul-12 22:41
Rolf Kristensen14-Jul-12 22:41 
Question"Hello, World" For Windows Shell Extension? Pin
fredtheman11-Jul-12 12:21
fredtheman11-Jul-12 12:21 
AnswerRe: "Hello, World" For Windows Shell Extension? Pin
Richard MacCutchan11-Jul-12 23:19
mveRichard MacCutchan11-Jul-12 23: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.