Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Checking a valid pointer Pin
DevMentor.org19-Jul-07 11:22
DevMentor.org19-Jul-07 11:22 
QuestionUsing ADODC.. Pin
indray2j18-Jul-07 21:32
indray2j18-Jul-07 21:32 
AnswerRe: Using ADODC.. Pin
Karismatic19-Jul-07 0:42
Karismatic19-Jul-07 0:42 
Questionhelp me in removing these warnings Pin
neha.agarwal2718-Jul-07 21:31
neha.agarwal2718-Jul-07 21:31 
AnswerRe: help me in removing these warnings Pin
CPallini18-Jul-07 21:51
mveCPallini18-Jul-07 21:51 
GeneralRe: help me in removing these warnings Pin
rp_suman18-Jul-07 21:59
rp_suman18-Jul-07 21:59 
GeneralRe: help me in removing these warnings Pin
CPallini18-Jul-07 22:10
mveCPallini18-Jul-07 22:10 
GeneralRe: help me in removing these warnings Pin
neha.agarwal2718-Jul-07 22:28
neha.agarwal2718-Jul-07 22:28 
thanks for your replys...
now my problem is i have made various ui threads before starting these thread i have checked using this code whether they are running or not..

std::map<int, CSmtpThread*>::iterator pos = assocs_Smtp.find(l);
if(pos == assocs_Smtp.end())
{
   StartingSmtpThread(URL,l,total_timeinterval,prt,Task_Nm);
}
				}


and i have closed my thread using this code
std::map<int, CSmtpThread*>::iterator pos = assocs_Smtp.find(smtpkey);
if(pos != assocs_Smtp.end())
{
	CSmtpThread* pThread = pos->second;
	pThread->PostThreadMessage(WM_QUIT,NULL,NULL);
}


once i start thread it works fine, when i stop it try to start it it doen't work.It doesn't go inside if condition...

how to solve this problem...
GeneralRe: help me in removing these warnings Pin
CPallini18-Jul-07 22:38
mveCPallini18-Jul-07 22:38 
GeneralRe: help me in removing these warnings Pin
neha.agarwal2718-Jul-07 23:07
neha.agarwal2718-Jul-07 23:07 
GeneralRe: help me in removing these warnings Pin
CPallini18-Jul-07 23:22
mveCPallini18-Jul-07 23:22 
GeneralRe: help me in removing these warnings Pin
neha.agarwal2719-Jul-07 0:34
neha.agarwal2719-Jul-07 0:34 
GeneralRe: help me in removing these warnings Pin
rp_suman18-Jul-07 22:51
rp_suman18-Jul-07 22:51 
GeneralRe: help me in removing these warnings Pin
CPallini18-Jul-07 22:55
mveCPallini18-Jul-07 22:55 
GeneralRe: help me in removing these warnings Pin
jhwurmbach19-Jul-07 2:53
jhwurmbach19-Jul-07 2:53 
GeneralRe: help me in removing these warnings Pin
rp_suman19-Jul-07 17:53
rp_suman19-Jul-07 17:53 
QuestionMFC/Win32 Printing - setting page/paper size ? Pin
ana_v12318-Jul-07 21:18
ana_v12318-Jul-07 21:18 
AnswerRe: MFC/Win32 Printing - setting page/paper size ? Pin
thammadi18-Jul-07 22:34
thammadi18-Jul-07 22:34 
Questionapplication crash in tree control Pin
sheetal_0618-Jul-07 21:18
sheetal_0618-Jul-07 21:18 
AnswerRe: application crash in tree control Pin
Rage19-Jul-07 1:28
professionalRage19-Jul-07 1:28 
GeneralRe: application crash in tree control Pin
sheetal_0619-Jul-07 17:54
sheetal_0619-Jul-07 17:54 
AnswerRe: application crash in tree control Pin
David Crow19-Jul-07 2:58
David Crow19-Jul-07 2:58 
AnswerRe: application crash in tree control Pin
Hamid_RT31-Jul-07 9:15
Hamid_RT31-Jul-07 9:15 
QuestionReading unicode files in C++ not MFC Pin
Programm3r18-Jul-07 21:09
Programm3r18-Jul-07 21:09 
AnswerRe: Reading UDL File Pin
Perspx18-Jul-07 21:19
Perspx18-Jul-07 21:19 

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.