Click here to Skip to main content
15,917,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OnSize execution, locks Pin
Blake Miller18-Mar-05 11:42
Blake Miller18-Mar-05 11:42 
GeneralRe: OnSize execution, locks Pin
Vancouver18-Mar-05 11:56
Vancouver18-Mar-05 11:56 
GeneralRe: OnSize execution, locks Pin
Blake Miller18-Mar-05 12:18
Blake Miller18-Mar-05 12:18 
GeneralRe: OnSize execution, locks Pin
Vancouver18-Mar-05 15:33
Vancouver18-Mar-05 15:33 
GeneralFinal explanation Pin
Vancouver19-Mar-05 10:59
Vancouver19-Mar-05 10:59 
Generalsizeof() question Pin
BlackDice18-Mar-05 10:22
BlackDice18-Mar-05 10:22 
GeneralRe: sizeof() question Pin
Ravi Bhavnani18-Mar-05 10:27
professionalRavi Bhavnani18-Mar-05 10:27 
GeneralRe: sizeof() question Pin
BlackDice18-Mar-05 10:42
BlackDice18-Mar-05 10:42 
Okay, but I'm thinking if I wanted to send a CString object through a socket. I know how to send a regular character string, but I'm trying to find if there's a way I could send the actual object (in bytes) by making the first 4 bytes an integer telling how long the rest of the byte array is so that I could turn that into a CString object offset 4 bytes from the beginning of the received byte array.

But if the CString object has an internal pointer to another place in memory where the actual character string is stored, would that even be part of the object I'm sending? because whatever address the original string points to for a character string will be invalid on the receiving end. Am I making any sense?

My articles

www.stillwaterexpress.com

BlackDice
GeneralRe: sizeof() question Pin
Ravi Bhavnani18-Mar-05 11:21
professionalRavi Bhavnani18-Mar-05 11:21 
GeneralRe: sizeof() question Pin
Blake Miller18-Mar-05 11:44
Blake Miller18-Mar-05 11:44 
GeneralRe: sizeof() question Pin
Ravi Bhavnani18-Mar-05 11:53
professionalRavi Bhavnani18-Mar-05 11:53 
QuestionHow do I treat a key combination? Pin
Anonymous18-Mar-05 10:10
Anonymous18-Mar-05 10:10 
AnswerRe: How do I treat a key combination? Pin
includeh1018-Mar-05 10:33
includeh1018-Mar-05 10:33 
GeneralRe: How do I treat a key combination? Pin
Anonymous18-Mar-05 10:43
Anonymous18-Mar-05 10:43 
AnswerRe: How do I treat a key combination? Pin
Blake Miller18-Mar-05 11:47
Blake Miller18-Mar-05 11:47 
GeneralCOM question Pin
act_x18-Mar-05 9:14
act_x18-Mar-05 9:14 
GeneralDeveloper with MP3 Library Pin
fishwolf18-Mar-05 5:38
fishwolf18-Mar-05 5:38 
GeneralRe: Developer with MP3 Library Pin
Ravi Bhavnani18-Mar-05 10:24
professionalRavi Bhavnani18-Mar-05 10:24 
Generalcximage Pin
Lampros Giampouras18-Mar-05 4:22
Lampros Giampouras18-Mar-05 4:22 
GeneralRe: cximage Pin
Iain Clarke, Warrior Programmer18-Mar-05 4:28
Iain Clarke, Warrior Programmer18-Mar-05 4:28 
GeneralRe: cximage Pin
tim63518-Mar-05 4:58
tim63518-Mar-05 4:58 
Generalsend value from .dll to application Pin
Member 178485318-Mar-05 3:56
Member 178485318-Mar-05 3:56 
GeneralRe: send value from .dll to application Pin
JohnCz18-Mar-05 8:06
JohnCz18-Mar-05 8:06 
GeneralTimers Pin
bouli18-Mar-05 2:02
bouli18-Mar-05 2:02 
GeneralRe: Timers Pin
Prakash Nadar18-Mar-05 2:20
Prakash Nadar18-Mar-05 2:20 

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.