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

C / C++ / MFC

 
GeneralHELP Pin
23-Nov-01 21:14
suss23-Nov-01 21:14 
GeneralRe: HELP Pin
Nish Nishant23-Nov-01 21:22
sitebuilderNish Nishant23-Nov-01 21:22 
GeneralRe: HELP Pin
23-Nov-01 21:45
suss23-Nov-01 21:45 
GeneralRe: HELP Pin
Nish Nishant23-Nov-01 22:00
sitebuilderNish Nishant23-Nov-01 22:00 
GeneralRe: HELP Pin
23-Nov-01 22:32
suss23-Nov-01 22:32 
GeneralCommunication with other apps! Pin
Ashman23-Nov-01 20:57
Ashman23-Nov-01 20:57 
GeneralRe: Communication with other apps! Pin
Nish Nishant23-Nov-01 21:13
sitebuilderNish Nishant23-Nov-01 21:13 
GeneralRichEdit member variable woes Pin
Xavier Shay23-Nov-01 18:14
Xavier Shay23-Nov-01 18:14 
In my project I've got a RichEdit box, with a mapped member variable t_Display. I've created a thread that waits for some input (in this case from a socket) and then tries to add this data to the RichEdit box. I am getting an assert error and I have no idea why. Could anyone help me? The code I'm using is thus:

char msg[MAXMSGLEN];

while (fConnected) {

sock.Recv(msg, MAXMSGLEN);
UpdateData(true);
t_Display.Format("%s%s\r\n", (LPCSTR)t_Display, msg);
UpdateData(false);

}


- X
'Reality is the only obstacle to happiness'
GeneralRe: RichEdit member variable woes Pin
Michael Dunn23-Nov-01 20:22
sitebuilderMichael Dunn23-Nov-01 20:22 
GeneralBrowse Direcrtory Pin
meirav23-Nov-01 9:30
meirav23-Nov-01 9:30 
GeneralRe: Browse Direcrtory Pin
Joaquín M López Muñoz23-Nov-01 9:55
Joaquín M López Muñoz23-Nov-01 9:55 
Questionhow do i change the background of a control? Pin
23-Nov-01 9:27
suss23-Nov-01 9:27 
AnswerRe: how do i change the background of a control? Pin
Joaquín M López Muñoz23-Nov-01 9:42
Joaquín M López Muñoz23-Nov-01 9:42 
GeneralQuestions about CRichEditCtrl Pin
squizz23-Nov-01 7:47
squizz23-Nov-01 7:47 
GeneralRe: Questions about CRichEditCtrl Pin
Bill Wilson23-Nov-01 10:09
Bill Wilson23-Nov-01 10:09 
GeneralXAudio SDK... Pin
Joshua Guy23-Nov-01 6:39
Joshua Guy23-Nov-01 6:39 
GeneralRe: XAudio SDK... Pin
Christian Graus23-Nov-01 22:39
protectorChristian Graus23-Nov-01 22:39 
GeneralNetwork Settings API Pin
23-Nov-01 5:38
suss23-Nov-01 5:38 
GeneralValue of a pointer of function Pin
Chen Jiadong23-Nov-01 5:00
Chen Jiadong23-Nov-01 5:00 
GeneralRe: Value of a pointer of function Pin
Michael Dunn23-Nov-01 8:04
sitebuilderMichael Dunn23-Nov-01 8:04 
GeneralRe: Value of a pointer of function Pin
Chen Jiadong23-Nov-01 18:34
Chen Jiadong23-Nov-01 18:34 
GeneralRe: Value of a pointer of function Pin
Michael Dunn23-Nov-01 20:36
sitebuilderMichael Dunn23-Nov-01 20:36 
GeneralRe: Value of a pointer of function Pin
Nish Nishant23-Nov-01 21:00
sitebuilderNish Nishant23-Nov-01 21:00 
GeneralRe: Value of a pointer of function Pin
Chen Jiadong24-Nov-01 0:03
Chen Jiadong24-Nov-01 0:03 
GeneralRe: Value of a pointer of function Pin
Michael Dunn24-Nov-01 8:59
sitebuilderMichael Dunn24-Nov-01 8:59 

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.