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

C / C++ / MFC

 
QuestionOnMouseMove HELP Please Pin
Charlie Curtis13-Jun-07 3:39
Charlie Curtis13-Jun-07 3:39 
AnswerRe: OnMouseMove HELP Please [modified] Pin
Mark Salsbery13-Jun-07 7:19
Mark Salsbery13-Jun-07 7:19 
QuestionC++ Thread Memory States/References Pin
Eshazear13-Jun-07 3:36
Eshazear13-Jun-07 3:36 
AnswerRe: C++ Thread Memory States/References Pin
James R. Twine13-Jun-07 3:46
James R. Twine13-Jun-07 3:46 
GeneralRe: C++ Thread Memory States/References Pin
Eshazear13-Jun-07 4:13
Eshazear13-Jun-07 4:13 
GeneralRe: C++ Thread Memory States/References Pin
Roger Stoltz13-Jun-07 4:35
Roger Stoltz13-Jun-07 4:35 
GeneralMultithreaded aproaches Pin
Eshazear13-Jun-07 4:45
Eshazear13-Jun-07 4:45 
QuestionVolatile Array allocation on the heap? Pin
Eshazear14-Jun-07 1:33
Eshazear14-Jun-07 1:33 
I've searched with google a bit, but can't find any info. about this.

In the Project Application (which I wrote the test app. for), I made use of dynamic arrays, whose size is only decided at run time.

Fortunately, the previous solution showed how the volatile qualifier can be used to force a memory lookup for a specific variable when it is read -
however, I need a handful of dynamic arrays to be volatile - and the memory allocation tells me that I "cannot allocate 'const'/'volatile' objects".

Simply declaring : bool* volatile m_NewReadyFrameFlag;
and later allocating m_NewReadyFrameFlag = new bool[CurChs];
only means that the pointer to the array itself is volatile and not the individual elements...

which is the best way around this (ie. to create a dynamic volatile array)?
QuestionNeed Help.. Pin
rajeevktripathi13-Jun-07 3:12
rajeevktripathi13-Jun-07 3:12 
QuestionRe: Need Help.. Pin
Hamid_RT13-Jun-07 3:20
Hamid_RT13-Jun-07 3:20 
AnswerRe: Need Help.. Pin
Hamid_RT13-Jun-07 3:24
Hamid_RT13-Jun-07 3:24 
GeneralRe: Need Help.. Pin
rajeevktripathi13-Jun-07 19:23
rajeevktripathi13-Jun-07 19:23 
QuestionRe: Need Help.. Pin
Hamid_RT13-Jun-07 20:57
Hamid_RT13-Jun-07 20:57 
GeneralRe: Need Help.. Pin
rajeevktripathi14-Jun-07 1:26
rajeevktripathi14-Jun-07 1:26 
QuestionNeed Help.... Pin
rajeevktripathi13-Jun-07 3:11
rajeevktripathi13-Jun-07 3:11 
AnswerRe: Need Help.... Pin
James R. Twine13-Jun-07 3:25
James R. Twine13-Jun-07 3:25 
GeneralRe: Need Help.... Pin
rajeevktripathi13-Jun-07 19:21
rajeevktripathi13-Jun-07 19:21 
AnswerRe: Need Help.... Pin
Programm3r13-Jun-07 4:18
Programm3r13-Jun-07 4:18 
QuestionShowing/hiding Groups of controls Pin
softwaremonkey13-Jun-07 2:47
softwaremonkey13-Jun-07 2:47 
AnswerRe: Showing/hiding Groups of controls Pin
Hamid_RT13-Jun-07 3:17
Hamid_RT13-Jun-07 3:17 
AnswerRe: Showing/hiding Groups of controls Pin
James R. Twine13-Jun-07 3:19
James R. Twine13-Jun-07 3:19 
GeneralRe: Showing/hiding Groups of controls Pin
softwaremonkey13-Jun-07 4:48
softwaremonkey13-Jun-07 4:48 
AnswerRe: Showing/hiding Groups of controls Pin
David Crow13-Jun-07 3:33
David Crow13-Jun-07 3:33 
QuestionHow to avoid flicker on CListCtlr when add new items? Pin
bosfan13-Jun-07 2:38
bosfan13-Jun-07 2:38 
AnswerRe: How to avoid flicker on CListCtlr when add new items? Pin
James R. Twine13-Jun-07 2:43
James R. Twine13-Jun-07 2:43 

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.