Click here to Skip to main content
15,888,280 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldialog focus Pin
28-Jun-01 6:21
suss28-Jun-01 6:21 
GeneralRe: dialog focus Pin
Carlos Antollini28-Jun-01 6:42
Carlos Antollini28-Jun-01 6:42 
GeneralRe: dialog focus Pin
28-Jun-01 6:53
suss28-Jun-01 6:53 
QuestionSharing dynamically allocated data across DLL instances? Pin
Jim A. Johnson28-Jun-01 5:38
Jim A. Johnson28-Jun-01 5:38 
AnswerRe: Sharing dynamically allocated data across DLL instances? Pin
Stephen Kellett29-Jun-01 5:25
Stephen Kellett29-Jun-01 5:25 
GeneralRe: Sharing dynamically allocated data across DLL instances? Pin
Jamie Nordmeyer6-Aug-01 18:14
Jamie Nordmeyer6-Aug-01 18:14 
AnswerRe: Sharing dynamically allocated data across DLL instances? Pin
Matt Gullett6-Aug-01 18:48
Matt Gullett6-Aug-01 18:48 
AnswerRe: Sharing dynamically allocated data across DLL instances? Pin
6-Aug-01 19:05
suss6-Aug-01 19:05 
I have extensive experience with shared memory and, to the best of my knowledge, what you are attempting is not possible. What you could do though is separate the data from the methods and declare structures that you place in a memory mapped file. You could then create objects that map to invidual instances of the data structures. I have done similar things and, while it isn't exactly clean, it is workable and not overly complex. Unfortunately, character strings must be either of fixed length or allocated from a 'pool' of characters. If the data structures are highly dynamic then the fixed length option is probably better.

Best of luck.

Questionkeyboard Hook that before was working outsida a DLL now it don't... could you take a look at it? Pin
Joan M28-Jun-01 5:37
professionalJoan M28-Jun-01 5:37 
QuestionHow to capture an app's stdout? Pin
Alvaro Mendez28-Jun-01 5:22
Alvaro Mendez28-Jun-01 5:22 
AnswerRe: How to capture an app's stdout? Pin
Tomasz Sowinski28-Jun-01 5:35
Tomasz Sowinski28-Jun-01 5:35 
GeneralMessage Box Pin
28-Jun-01 4:57
suss28-Jun-01 4:57 
GeneralRe: Message Box Pin
Michael P Butler29-Jun-01 3:22
Michael P Butler29-Jun-01 3:22 
GeneralRe: Message Box Pin
29-Jun-01 4:34
suss29-Jun-01 4:34 
GeneralRe: Message Box Pin
2-Jul-01 20:06
suss2-Jul-01 20:06 
GeneralWM_INPUTLANGCHANGEREQUEST Pin
28-Jun-01 4:03
suss28-Jun-01 4:03 
GeneralRe: WM_INPUTLANGCHANGEREQUEST Pin
28-Jun-01 4:50
suss28-Jun-01 4:50 
GeneralRe: WM_INPUTLANGCHANGEREQUEST Pin
28-Jun-01 5:15
suss28-Jun-01 5:15 
GeneralRe: WM_INPUTLANGCHANGEREQUEST Pin
28-Jun-01 9:49
suss28-Jun-01 9:49 
Generalcatch value with vc++ Pin
Gérald Mercet28-Jun-01 4:03
Gérald Mercet28-Jun-01 4:03 
Generalcatch value with vc++ Pin
28-Jun-01 3:59
suss28-Jun-01 3:59 
GeneralVirtual directory Pin
28-Jun-01 2:59
suss28-Jun-01 2:59 
GeneralRe: Virtual directory Pin
Erik Funkenbusch28-Jun-01 11:17
Erik Funkenbusch28-Jun-01 11:17 
QuestionHow to use RegQueryMultipleValues fnc Pin
28-Jun-01 2:44
suss28-Jun-01 2:44 
Generalmouse click problem in ownerdraw menu Pin
Paul Goodyear28-Jun-01 1:47
Paul Goodyear28-Jun-01 1:47 

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.