Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Process exit memory released? Pin
Rajesh R Subramanian7-Dec-10 23:32
professionalRajesh R Subramanian7-Dec-10 23:32 
AnswerRe: Process exit memory released? Pin
Cedric Moonen8-Dec-10 0:16
Cedric Moonen8-Dec-10 0:16 
AnswerRe: Process exit memory released? Pin
Maximilien8-Dec-10 1:42
Maximilien8-Dec-10 1:42 
AnswerRe: Process exit memory released? Pin
Niklas L8-Dec-10 21:58
Niklas L8-Dec-10 21:58 
QuestionHow can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 18:08
Le@rner7-Dec-10 18:08 
AnswerRe: How can identify why AfxBeginThread return value is NULL? Pin
Rajesh R Subramanian7-Dec-10 19:44
professionalRajesh R Subramanian7-Dec-10 19:44 
AnswerRe: How can identify why AfxBeginThread return value is NULL? Pin
bleedingfingers7-Dec-10 20:00
bleedingfingers7-Dec-10 20:00 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 20:29
Le@rner7-Dec-10 20:29 
//here CTest_Thread is class that is derived from CWinThread

int in_num=0;
std::map<int, CTest_Thread*>  assocs_th;

assocs_th[in_num] = (CTest_Thread*) AfxBeginThread( RUNTIME_CLASS(CTest_Thread), THREAD_PRIORITY_NORMAL, NULL,CREATE_SUSPENDED, NULL);

if (NULL != assocs_th[in_num])
{
	//assign values to thread class variables
	//assocs_th[in_num]->file_path = path;
	assocs_th[in_num]->ResumeThread();
     
     in_num++;
}
else
{				
	AfxMessageBox("Error");
}

GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Rajesh R Subramanian7-Dec-10 20:48
professionalRajesh R Subramanian7-Dec-10 20:48 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
bleedingfingers7-Dec-10 23:30
bleedingfingers7-Dec-10 23:30 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 23:35
Le@rner7-Dec-10 23:35 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Rajesh R Subramanian7-Dec-10 23:57
professionalRajesh R Subramanian7-Dec-10 23:57 
AnswerRe: How can identify why AfxBeginThread return value is NULL? Pin
trotwa7-Dec-10 22:18
trotwa7-Dec-10 22:18 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Le@rner7-Dec-10 22:20
Le@rner7-Dec-10 22:20 
GeneralRe: How can identify why AfxBeginThread return value is NULL? Pin
Rajesh R Subramanian7-Dec-10 22:57
professionalRajesh R Subramanian7-Dec-10 22:57 
QuestionCToolBar Button Flickers. [modified] Pin
janaswamy uday7-Dec-10 17:54
janaswamy uday7-Dec-10 17:54 
QuestionIs there any DB2 driver for VC Pin
cy163@hotmail.com7-Dec-10 13:40
cy163@hotmail.com7-Dec-10 13:40 
QuestionVC FLEX Pin
cy163@hotmail.com7-Dec-10 13:38
cy163@hotmail.com7-Dec-10 13:38 
AnswerRe: VC FLEX Pin
KingsGambit7-Dec-10 21:43
KingsGambit7-Dec-10 21:43 
AnswerRe: VC FLEX Pin
Cool_Dev8-Dec-10 21:17
Cool_Dev8-Dec-10 21:17 
Question890916 - CTabbedPane Pin
ilostmyid27-Dec-10 2:32
professionalilostmyid27-Dec-10 2:32 
AnswerRe: 890916 - CTabbedPane Pin
David Crow7-Dec-10 3:25
David Crow7-Dec-10 3:25 
GeneralRe: 890916 - CTabbedPane Pin
ilostmyid27-Dec-10 4:58
professionalilostmyid27-Dec-10 4:58 
QuestionHow to create a forward rule in MS Outlook programmatically using MAPI. Pin
jayprakash247-Dec-10 0:38
jayprakash247-Dec-10 0:38 
AnswerRe: How to create a forward rule in MS Outlook programmatically using MAPI. Pin
Rajesh R Subramanian7-Dec-10 1:57
professionalRajesh R Subramanian7-Dec-10 1:57 

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.