Click here to Skip to main content
15,904,415 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralI need some pointer help please Pin
fklldsvs4-Jan-05 17:29
fklldsvs4-Jan-05 17:29 
GeneralRe: I need some pointer help please Pin
ThatsAlok4-Jan-05 18:54
ThatsAlok4-Jan-05 18:54 
GeneralRe: I need some pointer help please Pin
John R. Shaw5-Jan-05 9:29
John R. Shaw5-Jan-05 9:29 
Questionhow can i play audio that use vivo's siren codec Pin
stephen_yeerwu4-Jan-05 15:31
stephen_yeerwu4-Jan-05 15:31 
QuestionHow can I share data which contain pointers between processes? Pin
berserkerr4-Jan-05 14:39
berserkerr4-Jan-05 14:39 
AnswerRe: How can I share data which contain pointers between processes? Pin
KaЯl4-Jan-05 21:26
KaЯl4-Jan-05 21:26 
AnswerRe: How can I share data which contain pointers between processes? Pin
Blake Miller5-Jan-05 5:09
Blake Miller5-Jan-05 5:09 
GeneralDoc View question Pin
act_x4-Jan-05 14:24
act_x4-Jan-05 14:24 
Consider the following scenario

In a MDI application
A and B are two objects of Class V(CView) . There is one Document object D .

Consider data represented as T (say a buffer of 1024 bytes) . This data can be stored as a file (F) or in another device (R).


A is a graphical representation of F and B is a graphical representation of R .

F and R are managed by a Server (S)


In the app , D(the one and only one) talks to S .

I have some basic questions :


1) D , based on the API calls to S knows if the data it is receiving is meant for either A or B . Does D have knowledge of A and B . In other other words can he do


A->Populate() and B->Populate()

This would mean that the Doc class pushes data to its view . I wasnt too sure of this


2) If the above is not allowed , It meants that based on a call that D makes ( like UpdateAllViews)
A and B have to update their representation .
Consider that fact that my file has changed by 1 bit , do i have to reload/refresh the entire buffer ? If i want to avoid this I have to add a significant amount of information in D

I am not able to zero in on the right methodology . I hope some one can give me a direction
thanks






Engineering is the effort !

GeneralRe: Doc View question Pin
Shog94-Jan-05 14:36
sitebuilderShog94-Jan-05 14:36 
GeneralRe: Doc View question Pin
act_x4-Jan-05 14:47
act_x4-Jan-05 14:47 
Generalchar* from C++ dll in C# Pin
vinayakdl4-Jan-05 12:31
vinayakdl4-Jan-05 12:31 
GeneralRe: char* from C++ dll in C# Pin
Anthony_Yio4-Jan-05 20:53
Anthony_Yio4-Jan-05 20:53 
GeneralMaximizing view Pin
act_x4-Jan-05 10:55
act_x4-Jan-05 10:55 
GeneralRe: Maximizing view Pin
KaЯl4-Jan-05 21:39
KaЯl4-Jan-05 21:39 
GeneralRe: Maximizing view Pin
Rahim Rattani4-Jan-05 21:57
Rahim Rattani4-Jan-05 21:57 
GeneralIP address resolution Pin
Themis4-Jan-05 10:16
Themis4-Jan-05 10:16 
GeneralRe: IP address resolution Pin
Roger Wright4-Jan-05 10:47
professionalRoger Wright4-Jan-05 10:47 
GeneralSending strings (or characters) through sockets. Pin
SimCom4-Jan-05 10:15
SimCom4-Jan-05 10:15 
GeneralMicrosoft Word Event handling help... Pin
Moozz4-Jan-05 10:09
Moozz4-Jan-05 10:09 
GeneralStruct array with string identifier Pin
Oscar Rodriguez4-Jan-05 9:55
Oscar Rodriguez4-Jan-05 9:55 
GeneralRe: Struct array with string identifier Pin
Chris Losinger4-Jan-05 10:14
professionalChris Losinger4-Jan-05 10:14 
GeneralRe: Struct array with string identifier Pin
Oscar Rodriguez5-Jan-05 0:23
Oscar Rodriguez5-Jan-05 0:23 
GeneralRe: Struct array with string identifier Pin
Chris Losinger5-Jan-05 1:09
professionalChris Losinger5-Jan-05 1:09 
GeneralRe: Struct array with string identifier Pin
Oscar Rodriguez6-Jan-05 1:26
Oscar Rodriguez6-Jan-05 1:26 
GeneralRe: Struct array with string identifier Pin
Chris Losinger6-Jan-05 2:10
professionalChris Losinger6-Jan-05 2:10 

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.