Click here to Skip to main content
15,913,288 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LPtoDP function is not working Pin
BuckBrown18-Nov-05 6:07
BuckBrown18-Nov-05 6:07 
QuestionSaving Bitmap Pin
mpastchenko17-Nov-05 11:59
mpastchenko17-Nov-05 11:59 
AnswerRe: Saving Bitmap Pin
Christian Graus17-Nov-05 14:21
protectorChristian Graus17-Nov-05 14:21 
QuestionC++ question Pin
David Crow17-Nov-05 8:57
David Crow17-Nov-05 8:57 
AnswerRe: C++ question Pin
Chris Meech17-Nov-05 10:29
Chris Meech17-Nov-05 10:29 
AnswerRe: C++ question Pin
Owner drawn17-Nov-05 17:39
Owner drawn17-Nov-05 17:39 
GeneralRe: C++ question Pin
David Crow18-Nov-05 5:19
David Crow18-Nov-05 5:19 
GeneralRe: C++ question Pin
cmk18-Nov-05 13:09
cmk18-Nov-05 13:09 
DavidCrow wrote:
If the computer that will eventually receive this data is expecting A and I send it (a larger) B, those extra bytes will cause all sorts of data loss due to everything being shifted.


Well now you are adding contraints that weren't in your original question.
Also your comment above isn't true, it depends on how your network code is set up.

The simplest way would be to add a Serialize method to A/B to read/write the object state to a blob of memory (e.g. in XML format) and then send the blob across the network.

But this issue (sending the data across a network) is unrelated to the original problem of optimizing your code.


...cmk

Save the whales - collect the whole set
GeneralRe: C++ question Pin
David Crow19-Nov-05 7:06
David Crow19-Nov-05 7:06 
GeneralRe: C++ question Pin
Owner drawn20-Nov-05 17:52
Owner drawn20-Nov-05 17:52 
GeneralRe: C++ question Pin
David Crow21-Nov-05 3:10
David Crow21-Nov-05 3:10 
AnswerRe: C++ question Pin
cmk18-Nov-05 2:19
cmk18-Nov-05 2:19 
QuestionDLL Function Noobie Pin
tadieckmann17-Nov-05 8:03
tadieckmann17-Nov-05 8:03 
AnswerRe: DLL Function Noobie Pin
kakan17-Nov-05 20:31
professionalkakan17-Nov-05 20:31 
Questionoddities of visual studio.net 2005.... Pin
(Steven Hicks)n+117-Nov-05 6:52
(Steven Hicks)n+117-Nov-05 6:52 
QuestionThreads in MFC - trying to understand... Pin
charlieg17-Nov-05 6:44
charlieg17-Nov-05 6:44 
AnswerRe: Threads in MFC - trying to understand... Pin
David Crow17-Nov-05 8:56
David Crow17-Nov-05 8:56 
GeneralRe: Threads in MFC - trying to understand... Pin
charlieg17-Nov-05 9:00
charlieg17-Nov-05 9:00 
AnswerRe: Threads in MFC - trying to understand... Pin
Sheng Jiang 蒋晟17-Nov-05 12:44
Sheng Jiang 蒋晟17-Nov-05 12:44 
GeneralRe: Threads in MFC - trying to understand... Pin
charlieg17-Nov-05 13:55
charlieg17-Nov-05 13:55 
GeneralRe: Threads in MFC - trying to understand... Pin
Sheng Jiang 蒋晟17-Nov-05 14:17
Sheng Jiang 蒋晟17-Nov-05 14:17 
QuestionThread Safe Static Library Problem Pin
Federico Milano17-Nov-05 2:38
Federico Milano17-Nov-05 2:38 
AnswerRe: Thread Safe Static Library Problem Pin
Graham Bradshaw17-Nov-05 2:48
Graham Bradshaw17-Nov-05 2:48 
GeneralRe: Thread Safe Static Library Problem Pin
Federico Milano17-Nov-05 4:17
Federico Milano17-Nov-05 4:17 
AnswerRe: Thread Safe Static Library Problem Pin
Tim Smith17-Nov-05 3:01
Tim Smith17-Nov-05 3:01 

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.