Click here to Skip to main content
16,010,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #include <fstream> Pin
Bob Stanneveld16-May-04 13:31
Bob Stanneveld16-May-04 13:31 
GeneralRe: #include <fstream> Pin
vividtang16-May-04 13:55
vividtang16-May-04 13:55 
GeneralRe: #include <fstream> Pin
Bob Stanneveld16-May-04 20:56
Bob Stanneveld16-May-04 20:56 
GeneralRegistry Pin
mmfried16-May-04 1:09
mmfried16-May-04 1:09 
GeneralRe: Registry Pin
Alexander M.,16-May-04 1:19
Alexander M.,16-May-04 1:19 
GeneralRe: Registry Pin
mmfried16-May-04 1:36
mmfried16-May-04 1:36 
GeneralRe: Registry Pin
cmk16-May-04 10:18
cmk16-May-04 10:18 
GeneralSend data to Multiple objects Pin
Stan the man16-May-04 0:25
Stan the man16-May-04 0:25 
Hi.

I was wondering of anyone can shed light on how labview (and the like) send the SAME data (maybe a packet from socket or from a hardware card or something) to multiple objects like graphs that wants it? What would be the best way to connect all these together so that memory is best controlled? Or is it that the object who wants certain data looks at a certain memory location. Maybe each object will process data at different rates.

I hope I am explaining it right. Right now, I have threads that read from Sockets with information that needs to be sent to multiple objects. Maybe multiple object will want the same information. The data for the sockets will be coming in fast continuously. It just seems that alloc memory and sending this packet to everyone is not very good. I am also thinking that I will put this in a memory location and then send a message to the object telling it that data is ready. But then how do I let multiple object read the same location and then update it when the last object reads it. Each object may read it at different times.

Thank you for any thoughts.

GeneralRe: Send data to Multiple objects Pin
Garth J Lancaster16-May-04 1:28
professionalGarth J Lancaster16-May-04 1:28 
GeneralRe: Send data to Multiple objects Pin
Kamyar Souri16-May-04 2:17
Kamyar Souri16-May-04 2:17 
GeneralRelational and Equality Operators Pin
Anonymous16-May-04 0:18
Anonymous16-May-04 0:18 
GeneralRe: Relational and Equality Operators Pin
toxcct16-May-04 0:45
toxcct16-May-04 0:45 
GeneralRe: Relational and Equality Operators Pin
Anonymous16-May-04 0:57
Anonymous16-May-04 0:57 
GeneralRe: Relational and Equality Operators Pin
toxcct16-May-04 1:04
toxcct16-May-04 1:04 
GeneralRe: Relational and Equality Operators Pin
Kamyar Souri16-May-04 2:21
Kamyar Souri16-May-04 2:21 
Generalneed your suggestion about my domain Pin
includeh1015-May-04 23:49
includeh1015-May-04 23:49 
GeneralRe: need your suggestion about my domain Pin
alex.barylski16-May-04 2:53
alex.barylski16-May-04 2:53 
GeneralRe: need your suggestion about my domain Pin
includeh1017-May-04 8:47
includeh1017-May-04 8:47 
GeneralCString::Replace Pin
Anonymous15-May-04 19:21
Anonymous15-May-04 19:21 
GeneralRe: CString::Replace Pin
Michael Dunn15-May-04 20:03
sitebuilderMichael Dunn15-May-04 20:03 
GeneralRe: CString::Replace Pin
Anonymous15-May-04 20:32
Anonymous15-May-04 20:32 
GeneralRe: CString::Replace Pin
vividtang16-May-04 1:23
vividtang16-May-04 1:23 
GeneralUsing Math constants in vc++ 6 Pin
vikashparida15-May-04 19:06
vikashparida15-May-04 19:06 
GeneralRe: Using Math constants in vc++ 6 Pin
Maxwell Chen15-May-04 20:25
Maxwell Chen15-May-04 20:25 
GeneralRe: Using Math constants in vc++ 6 Pin
Kamyar Souri15-May-04 21:31
Kamyar Souri15-May-04 21:31 

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.