Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: question about cin Pin
followait28-Sep-08 3:20
followait28-Sep-08 3:20 
GeneralRe: question about cin Pin
George_George28-Sep-08 3:38
George_George28-Sep-08 3:38 
GeneralRe: question about cin Pin
followait28-Sep-08 4:16
followait28-Sep-08 4:16 
GeneralRe: question about cin Pin
George_George29-Sep-08 23:11
George_George29-Sep-08 23:11 
QuestionHow to determine if a GDI object handle is valid? Pin
followait27-Sep-08 20:10
followait27-Sep-08 20:10 
AnswerRe: How to determine if a GDI object handle is valid? Pin
Gary R. Wheeler28-Sep-08 2:17
Gary R. Wheeler28-Sep-08 2:17 
AnswerRe: How to determine if a GDI object handle is valid? Pin
Michael Dunn28-Sep-08 12:32
sitebuilderMichael Dunn28-Sep-08 12:32 
QuestionSharing DLL data among different process Pin
ForNow27-Sep-08 19:07
ForNow27-Sep-08 19:07 
Hi,

I have Dos Console process which has a lot of data which I want to

Display in WIN32 GUI

So I did a CreateProcess to create the WIN32 app exported the structure unfortunatlly the data in the DLL exported structure seems to be lost

Hmm. seems that even though the address of DLL is the same in both the Dos Console and the WIN32 app

The data must be shared.....

from research is seems that along with exporting this structure
I have to put it in the shared data segment

a #pragma data_seg(".SHARED") and #pragma data_seg() must be wrapped around structure in additon to telling the linker via #pragma
that this is Read / Write section via

#pragma comment(linker, "/section:.SHARED,RWS)

One caveat to all this is that the variables must be initialized

There a lot of memebers in this structure to initialize

but alas if there is no other way

I been reading about Mapped Memory files

all suggestion are welcome



thankx
Questionhow to catch the redraw event of flash control? Pin
61934514227-Sep-08 16:51
61934514227-Sep-08 16:51 
QuestionDialog and Propertypage question? Pin
Rangarajan Varadan27-Sep-08 16:48
Rangarajan Varadan27-Sep-08 16:48 
QuestionWhat is the difference among the OnClose(),OnDestroy() and the DestroyWindow()? Pin
aygrhnwms30427-Sep-08 16:32
aygrhnwms30427-Sep-08 16:32 
QuestionRe: What is the difference among the OnClose(),OnDestroy() and the DestroyWindow()? Pin
David Crow27-Sep-08 16:38
David Crow27-Sep-08 16:38 
AnswerRe: What is the difference among the OnClose(),OnDestroy() and the DestroyWindow()? Pin
aygrhnwms30427-Sep-08 21:02
aygrhnwms30427-Sep-08 21:02 
AnswerRe: What is the difference among the OnClose(),OnDestroy() and the DestroyWindow()? Pin
Ali Tavakol28-Sep-08 4:47
Ali Tavakol28-Sep-08 4:47 
AnswerRe: What is the difference among the OnClose(),OnDestroy() and the DestroyWindow()? Pin
Michael Dunn28-Sep-08 12:34
sitebuilderMichael Dunn28-Sep-08 12:34 
Questionreading text file Pin
nomi khan27-Sep-08 12:55
nomi khan27-Sep-08 12:55 
AnswerRe: reading text file Pin
David Crow27-Sep-08 16:40
David Crow27-Sep-08 16:40 
AnswerRe: reading text file Pin
Hamid_RT29-Sep-08 7:31
Hamid_RT29-Sep-08 7:31 
QuestionMessage Queues for MFC windows classes Pin
sawerr27-Sep-08 7:51
sawerr27-Sep-08 7:51 
AnswerRe: Message Queues for MFC windows classes Pin
Mark Salsbery27-Sep-08 8:24
Mark Salsbery27-Sep-08 8:24 
GeneralRe: Message Queues for MFC windows classes Pin
sawerr27-Sep-08 9:58
sawerr27-Sep-08 9:58 
GeneralRe: Message Queues for MFC windows classes Pin
Mark Salsbery27-Sep-08 10:08
Mark Salsbery27-Sep-08 10:08 
GeneralRe: Message Queues for MFC windows classes Pin
sawerr27-Sep-08 10:46
sawerr27-Sep-08 10:46 
Questionan always-wrong password Pin
Joseph Marzbani27-Sep-08 4:50
Joseph Marzbani27-Sep-08 4:50 
AnswerRe: an always-wrong password Pin
Paul Conrad27-Sep-08 7:18
professionalPaul Conrad27-Sep-08 7:18 

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.