Click here to Skip to main content
15,886,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: .NET's "function collapse" feature for VC6? Pin
Owner drawn23-Jan-06 16:46
Owner drawn23-Jan-06 16:46 
QuestionShare data between objects. Pin
xyhan23-Jan-06 11:05
xyhan23-Jan-06 11:05 
AnswerRe: Share data between objects. Pin
__yb23-Jan-06 11:08
__yb23-Jan-06 11:08 
GeneralRe: Share data between objects. Pin
xyhan23-Jan-06 11:18
xyhan23-Jan-06 11:18 
GeneralRe: Share data between objects. Pin
Stephen Hewitt23-Jan-06 12:22
Stephen Hewitt23-Jan-06 12:22 
GeneralRe: Share data between objects. Pin
Blake Miller23-Jan-06 12:25
Blake Miller23-Jan-06 12:25 
GeneralRe: Share data between objects. Pin
Stephen Hewitt23-Jan-06 12:30
Stephen Hewitt23-Jan-06 12:30 
GeneralRe: Share data between objects. Pin
Blake Miller23-Jan-06 12:56
Blake Miller23-Jan-06 12:56 
The two classes have some reference to the intermediary object, not the other way around.

However, if either class has a LOT of data, you would not want to keep copying that around. But then if they need to share a lot of data that frequently, neiher of the clients should possess the data in the first place - the data SHOULD reside in the intermediary object - a data repository object.

Each client then uses its own mechanism, or a parent object hooks everything up.

Typically, when a question like this is posed, I immediately think there is no or little separation of data from processing, and every system I have ever encountered that is made that way, suffers from upgrade and migration problems not too distant in its future.


People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks
AnswerRe: Share data between objects. Pin
namaskaaram23-Jan-06 18:38
namaskaaram23-Jan-06 18:38 
QuestionUI design Question : presenting user defined path. Pin
Maximilien23-Jan-06 9:58
Maximilien23-Jan-06 9:58 
AnswerRe: UI design Question : presenting user defined path. Pin
Joel Lucsy23-Jan-06 10:14
Joel Lucsy23-Jan-06 10:14 
GeneralRe: UI design Question : presenting user defined path. Pin
Maximilien23-Jan-06 10:25
Maximilien23-Jan-06 10:25 
AnswerRe: UI design Question : presenting user defined path. Pin
Bob Stanneveld23-Jan-06 10:26
Bob Stanneveld23-Jan-06 10:26 
AnswerRe: UI design Question : presenting user defined path. Pin
David Crow23-Jan-06 10:28
David Crow23-Jan-06 10:28 
AnswerThank you all for your inputs ... Pin
Maximilien23-Jan-06 13:24
Maximilien23-Jan-06 13:24 
AnswerRe: UI design Question : presenting user defined path. Pin
Ryan Binns23-Jan-06 14:03
Ryan Binns23-Jan-06 14:03 
GeneralRe: UI design Question : presenting user defined path. Pin
S Douglas24-Jan-06 21:20
professionalS Douglas24-Jan-06 21:20 
Questionrealtime recording of speech sound while analyze the recorded speech. Pin
mohahhh23-Jan-06 9:46
mohahhh23-Jan-06 9:46 
AnswerRe: realtime recording of speech sound while analyze the recorded speech. Pin
Maximilien23-Jan-06 10:03
Maximilien23-Jan-06 10:03 
QuestionMRU Sub Menu Pin
manosza23-Jan-06 7:50
manosza23-Jan-06 7:50 
QuestionSetUnhandledExceptionFilter doesnt work Pin
Chintoo72323-Jan-06 6:50
Chintoo72323-Jan-06 6:50 
AnswerRe: SetUnhandledExceptionFilter doesnt work Pin
__yb23-Jan-06 10:48
__yb23-Jan-06 10:48 
GeneralRe: SetUnhandledExceptionFilter doesnt work Pin
Chintoo72323-Jan-06 15:50
Chintoo72323-Jan-06 15:50 
AnswerRe: SetUnhandledExceptionFilter doesnt work Pin
Stephen Hewitt23-Jan-06 12:07
Stephen Hewitt23-Jan-06 12:07 
GeneralRe: SetUnhandledExceptionFilter doesnt work Pin
Chintoo72323-Jan-06 16:30
Chintoo72323-Jan-06 16:30 

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.