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

C / C++ / MFC

 
GeneralRe: Default type Pin
Maximilien20-Aug-09 9:08
Maximilien20-Aug-09 9:08 
QuestionDoxygen help Pin
Pabolo20-Aug-09 7:35
Pabolo20-Aug-09 7:35 
QuestionDebugging Multiple Threaded App - Throwing Unhandled Exeception Pin
CodeMacDaddy20-Aug-09 4:44
CodeMacDaddy20-Aug-09 4:44 
AnswerRe: Debugging Multiple Threaded App - Throwing Unhandled Exeception Pin
Roger Stoltz20-Aug-09 6:01
Roger Stoltz20-Aug-09 6:01 
GeneralRe: Debugging Multiple Threaded App - Throwing Unhandled Exeception Pin
CodeMacDaddy20-Aug-09 8:14
CodeMacDaddy20-Aug-09 8:14 
AnswerRe: Debugging Multiple Threaded App - Throwing Unhandled Exeception Pin
Roger Stoltz20-Aug-09 22:19
Roger Stoltz20-Aug-09 22:19 
GeneralRe: Debugging Multiple Threaded App - Throwing Unhandled Exeception Pin
CodeMacDaddy21-Aug-09 8:30
CodeMacDaddy21-Aug-09 8:30 
AnswerRe: Debugging Multiple Threaded App - Throwing Unhandled Exeception Pin
KarstenK20-Aug-09 21:38
mveKarstenK20-Aug-09 21:38 
GeneralRe: Debugging Multiple Threaded App - Throwing Unhandled Exeception Pin
CodeMacDaddy21-Aug-09 8:31
CodeMacDaddy21-Aug-09 8:31 
QuestionOpening new document type in existing frame window Pin
Member 268155320-Aug-09 3:46
Member 268155320-Aug-09 3:46 
Questioncommunicate between 2 different applications using CORBA Pin
sola7720-Aug-09 1:44
sola7720-Aug-09 1:44 
AnswerRe: communicate between 2 different applications using CORBA Pin
Adam Roderick J20-Aug-09 1:48
Adam Roderick J20-Aug-09 1:48 
GeneralRe: communicate between 2 different applications using CORBA Pin
sola7720-Aug-09 1:54
sola7720-Aug-09 1:54 
GeneralRe: communicate between 2 different applications using CORBA [modified] Pin
Adam Roderick J20-Aug-09 2:39
Adam Roderick J20-Aug-09 2:39 
AnswerRe: communicate between 2 different applications using CORBA Pin
Cedric Moonen20-Aug-09 2:00
Cedric Moonen20-Aug-09 2:00 
GeneralRe: communicate between 2 different applications using CORBA Pin
sola7720-Aug-09 2:10
sola7720-Aug-09 2:10 
GeneralRe: communicate between 2 different applications using CORBA Pin
Cedric Moonen20-Aug-09 2:15
Cedric Moonen20-Aug-09 2:15 
GeneralRe: communicate between 2 different applications using CORBA Pin
sola7720-Aug-09 2:21
sola7720-Aug-09 2:21 
GeneralRe: communicate between 2 different applications using CORBA Pin
Cedric Moonen20-Aug-09 2:26
Cedric Moonen20-Aug-09 2:26 
GeneralRe: communicate between 2 different applications using CORBA Pin
sola7720-Aug-09 2:33
sola7720-Aug-09 2:33 
GeneralRe: communicate between 2 different applications using CORBA Pin
Garth J Lancaster20-Aug-09 12:12
professionalGarth J Lancaster20-Aug-09 12:12 
AnswerRe: communicate between 2 different applications using CORBA Pin
Nemanja Trifunovic20-Aug-09 4:50
Nemanja Trifunovic20-Aug-09 4:50 
AnswerRe: communicate between 2 different applications using CORBA Pin
Joe Woodbury20-Aug-09 6:05
professionalJoe Woodbury20-Aug-09 6:05 
JokeRe: communicate between 2 different applications using CORBA - Sounds risky to me... Pin
Iain Clarke, Warrior Programmer21-Aug-09 2:46
Iain Clarke, Warrior Programmer21-Aug-09 2:46 
QuestionAfter TerminateThread function is called no lines after that is being called. Pin
Le@rner19-Aug-09 23:28
Le@rner19-Aug-09 23:28 
Hi all,

i have made a worker thread and from that worker thread i am calling function to do some processing.

i have started my worker thread using this code
pThread = AfxBeginThread(Thread , (LPVOID) this);


I am terminating that thread on click event of a button, using this code
int ret = ::TerminateThread(pThread->m_hThread,NULL);



My problem is when TerminateThread line is being executed pointer never returns back i can't get its return value and lines after that piece of code is not being executed.

How to resolve this problem??

Thanks in advance...

To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.

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.