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

C / C++ / MFC

 
GeneralHelp me clean up my code , please . Pin
Vaclav18-Feb-03 20:52
Vaclav18-Feb-03 20:52 
GeneralRe: Help me clean up my code , please . Pin
Brian Shifrin19-Feb-03 0:19
Brian Shifrin19-Feb-03 0:19 
QuestionWhen combining a console project with MFC, malloc causing problems in release mode??? Pin
Deepak Gupta18-Feb-03 19:52
Deepak Gupta18-Feb-03 19:52 
GeneralAutomation server Pin
Shah Shehpori18-Feb-03 17:54
sussShah Shehpori18-Feb-03 17:54 
Generalnetworking and password protection, please help! Pin
moraalg18-Feb-03 17:24
moraalg18-Feb-03 17:24 
GeneralRe: networking and password protection, please help! Pin
Kannan Kalyanaraman18-Feb-03 17:55
Kannan Kalyanaraman18-Feb-03 17:55 
GeneralRe: networking and password protection, please help! Pin
Abbas_Riazi18-Feb-03 21:44
professionalAbbas_Riazi18-Feb-03 21:44 
Questionthread question? Pin
afender18-Feb-03 16:42
afender18-Feb-03 16:42 
let say i had created a thread by

hThread = CreateThread(
NULL, // default security attributes
0, // use default stack size
ThreadFunc, // thread function
&lpVoid // argument to thread function
0, // use default creation flags
&dwThreadId); // returns the thread identifier

with thread function

unsigned long __stdcall CProjectv1Dlg::ThreadFunc(void* lpVoid)
{//let say again
while(1){
if(int a == 1)
m_result += " success";
}
return 0;
}

i oso created an editbox with a Cstring variable m_result.

now, my question is how can i update the editbox through the m_result variable?

thks for all the advice and helpSmile | :)


regards,

afender


AnswerRe: thread question? Pin
Chintan18-Feb-03 18:30
Chintan18-Feb-03 18:30 
AnswerRe: thread question? Pin
Chintan18-Feb-03 18:34
Chintan18-Feb-03 18:34 
GeneralRe: thread question? Pin
Anonymous18-Feb-03 19:33
Anonymous18-Feb-03 19:33 
GeneralRe: thread question? Pin
Hans Ruck19-Feb-03 3:54
Hans Ruck19-Feb-03 3:54 
GeneralRe: thread question? Pin
Chintan19-Feb-03 22:10
Chintan19-Feb-03 22:10 
GeneralRe: thread question? Pin
afender18-Feb-03 19:55
afender18-Feb-03 19:55 
GeneralRe: thread question? Pin
Chintan19-Feb-03 22:00
Chintan19-Feb-03 22:00 
GeneralRe: thread question? Pin
afender18-Feb-03 19:57
afender18-Feb-03 19:57 
GeneralRe: thread question? Pin
HENDRIK R18-Feb-03 22:04
HENDRIK R18-Feb-03 22:04 
GeneralRe: thread question? Pin
afender9919-Feb-03 4:08
afender9919-Feb-03 4:08 
GeneralRe: thread question? Pin
Joe Woodbury19-Feb-03 9:50
professionalJoe Woodbury19-Feb-03 9:50 
GeneralRe: thread question? Pin
afender19-Feb-03 15:41
afender19-Feb-03 15:41 
GeneralRe: thread question? Pin
Joe Woodbury19-Feb-03 19:37
professionalJoe Woodbury19-Feb-03 19:37 
GeneralRe: thread question? Pin
afender20-Feb-03 2:41
afender20-Feb-03 2:41 
GeneralModeless Dialog Windows Pin
NickOne18-Feb-03 15:29
NickOne18-Feb-03 15:29 
GeneralRe: Modeless Dialog Windows Pin
Dave Bryant18-Feb-03 16:41
Dave Bryant18-Feb-03 16:41 
Generalextern "C" and static member functions Pin
Jon Hulatt18-Feb-03 11:48
Jon Hulatt18-Feb-03 11:48 

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.