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

C / C++ / MFC

 
GeneralChange the background color of a static text control Pin
Daniel Strigl4-Nov-02 1:24
Daniel Strigl4-Nov-02 1:24 
GeneralRe: Change the background color of a static text control Pin
Michael P Butler4-Nov-02 1:46
Michael P Butler4-Nov-02 1:46 
GeneralSemaphore wait and signal!!!! Pin
tongc4-Nov-02 1:13
tongc4-Nov-02 1:13 
GeneralRe: Semaphore wait and signal!!!! Pin
Gary Wheeler4-Nov-02 7:33
Gary Wheeler4-Nov-02 7:33 
QuestionCListCtrl Focus??? Pin
Daniel Strigl4-Nov-02 1:02
Daniel Strigl4-Nov-02 1:02 
AnswerRe: CListCtrl Focus??? Pin
Andreas Saurwein4-Nov-02 6:49
Andreas Saurwein4-Nov-02 6:49 
Questionshared memory between processes?? Pin
Anonymous4-Nov-02 1:01
Anonymous4-Nov-02 1:01 
AnswerRe: shared memory between processes?? Pin
Paul M Watt4-Nov-02 5:24
mentorPaul M Watt4-Nov-02 5:24 
Anonymous wrote:
The only method i'm aware of is MapViewOfFile() ?? Is there any idea?

That will create a memory mapped file which is the best method for doing any sort of high speed communication or communication that may create a large number of buffers.

Or you could use GlobalAlloc to create a HGLOBALs with the GMEM_MOVEABLE flag set. This will allocate memory in the pages that are shared across all processes. You will only need to call GlobalLock in order to gain access to the memory from another process. One of the difficulties with this method is that you will need to send a message or do something else to transfer the handle of the HGLOBAL between your two processes.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

AnswerRe: shared memory between processes?? Pin
ian mariano4-Nov-02 7:31
ian mariano4-Nov-02 7:31 
QuestionWhat reports can use in VC instead of Crystal? Pin
LaFlour4-Nov-02 0:56
LaFlour4-Nov-02 0:56 
Generalallowable instruction in kernel mode!! Pin
Anonymous4-Nov-02 0:44
Anonymous4-Nov-02 0:44 
GeneralRe: allowable instruction in kernel mode!! Pin
Paul M Watt4-Nov-02 5:27
mentorPaul M Watt4-Nov-02 5:27 
QuestionHow Can I Set Items' Images of Toolbar Pin
IMiracle4-Nov-02 0:39
IMiracle4-Nov-02 0:39 
AnswerRe: How Can I Set Items' Images of Toolbar Pin
viliam4-Nov-02 0:55
viliam4-Nov-02 0:55 
GeneralRe: How Can I Set Items' Images of Toolbar Pin
IMiracle4-Nov-02 1:03
IMiracle4-Nov-02 1:03 
General"multi-master" Pin
Anonymous4-Nov-02 0:41
Anonymous4-Nov-02 0:41 
GeneralRe: "multi-master" Pin
Maximilien4-Nov-02 2:52
Maximilien4-Nov-02 2:52 
GeneralGenerating a short delay (a few ms) Pin
LittleYellowBird3-Nov-02 23:58
LittleYellowBird3-Nov-02 23:58 
GeneralRe: Generating a short delay (a few ms) Pin
Vagif Abilov4-Nov-02 0:30
professionalVagif Abilov4-Nov-02 0:30 
GeneralRe: Generating a short delay (a few ms) Pin
LittleYellowBird4-Nov-02 2:21
LittleYellowBird4-Nov-02 2:21 
GeneralRe: Generating a short delay (a few ms) Pin
Gary Kirkham4-Nov-02 11:26
Gary Kirkham4-Nov-02 11:26 
GeneralRe: Generating a short delay (a few ms) Pin
LittleYellowBird5-Nov-02 3:15
LittleYellowBird5-Nov-02 3:15 
GeneralRe: Generating a short delay (a few ms) Pin
viliam4-Nov-02 0:33
viliam4-Nov-02 0:33 
GeneralRe: Generating a short delay (a few ms) Pin
LittleYellowBird4-Nov-02 2:18
LittleYellowBird4-Nov-02 2:18 
GeneralRe: Generating a short delay (a few ms) Pin
Brigg Thorp4-Nov-02 2:28
Brigg Thorp4-Nov-02 2:28 

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.