Click here to Skip to main content
16,007,050 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: error C2065: 'AfxBeginThread' Pin
David Crow4-Apr-07 2:44
David Crow4-Apr-07 2:44 
AnswerRe: error C2065: 'AfxBeginThread' Pin
Nandu_77b4-Apr-07 2:51
Nandu_77b4-Apr-07 2:51 
GeneralRe: error C2065: 'AfxBeginThread' Pin
David Crow4-Apr-07 3:04
David Crow4-Apr-07 3:04 
GeneralRe: error C2065: 'AfxBeginThread' Pin
Nandu_77b5-Apr-07 3:35
Nandu_77b5-Apr-07 3:35 
AnswerRe: error C2065: 'AfxBeginThread' Pin
ThatsAlok18-Apr-07 20:30
ThatsAlok18-Apr-07 20:30 
AnswerRe: error C2065: 'AfxBeginThread' Pin
ThatsAlok18-Apr-07 20:34
ThatsAlok18-Apr-07 20:34 
QuestionHANDLE Problem Pin
micutzu3-Apr-07 3:51
micutzu3-Apr-07 3:51 
QuestionShared memory with CreateDIBSection Pin
phieu3-Apr-07 3:43
phieu3-Apr-07 3:43 
Hi all,
I want to create a bitmap by the function CreateDIBSection, and share the bitmap with other process.
HBITMAP CreateDIBSection(
HDC hdc, // handle to DC
CONST BITMAPINFO *pbmi, // bitmap data
UINT iUsage, // data type indicator
VOID **ppvBits, // bit values
HANDLE hSection, // handle to file mapping object
DWORD dwOffset // offset to bitmap bit values
);
Following MSDN, hSection is handle that created by CreateFileMapping.
Now I want ask that: in the shared-memory that hold by handle hSection: what is shared data? it is ppvBits?. If not, what is relating between ppvBits and data shared in the memory. I don't see any word in MSDN about this.
That is good if anyone give me a sample code.

Thank you.





The world is not enough!
AnswerRe: Shared memory with CreateDIBSection Pin
KaЯl3-Apr-07 4:42
KaЯl3-Apr-07 4:42 
AnswerRe: Shared memory with CreateDIBSection Pin
Mark Salsbery3-Apr-07 7:32
Mark Salsbery3-Apr-07 7:32 
GeneralRe: Shared memory with CreateDIBSection Pin
phieu3-Apr-07 18:29
phieu3-Apr-07 18:29 
GeneralRe: Shared memory with CreateDIBSection Pin
Mark Salsbery3-Apr-07 19:43
Mark Salsbery3-Apr-07 19:43 
GeneralRe: Shared memory with CreateDIBSection Pin
Mark Salsbery3-Apr-07 19:51
Mark Salsbery3-Apr-07 19:51 
GeneralRe: Shared memory with CreateDIBSection Pin
phieu4-Apr-07 1:15
phieu4-Apr-07 1:15 
GeneralRe: Shared memory with CreateDIBSection Pin
Mark Salsbery4-Apr-07 7:24
Mark Salsbery4-Apr-07 7:24 
GeneralRe: Shared memory with CreateDIBSection Pin
phieu4-Apr-07 17:04
phieu4-Apr-07 17:04 
QuestionGINA and the net Pin
SeaSol3-Apr-07 3:29
SeaSol3-Apr-07 3:29 
QuestionRichEditCtrl - RTF Pin
Ashok Panchal3-Apr-07 3:27
Ashok Panchal3-Apr-07 3:27 
QuestionRe: RichEditCtrl - RTF Pin
Mark Salsbery3-Apr-07 7:36
Mark Salsbery3-Apr-07 7:36 
QuestionGet Sub-Directories Pin
Programm3r3-Apr-07 3:19
Programm3r3-Apr-07 3:19 
AnswerRe: Get Sub-Directories Pin
_AnsHUMAN_ 3-Apr-07 3:21
_AnsHUMAN_ 3-Apr-07 3:21 
QuestionRe: Get Sub-Directories Pin
Programm3r3-Apr-07 4:01
Programm3r3-Apr-07 4:01 
AnswerRe: Get Sub-Directories Pin
Roger Stoltz3-Apr-07 3:26
Roger Stoltz3-Apr-07 3:26 
QuestionRe: Get Sub-Directories Pin
Programm3r3-Apr-07 5:06
Programm3r3-Apr-07 5:06 
AnswerRe: Get Sub-Directories Pin
Programm3r3-Apr-07 5:14
Programm3r3-Apr-07 5:14 

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.