Click here to Skip to main content
15,896,359 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Owner drawn button flicker hell Pin
Christian Graus2-Jan-02 0:52
protectorChristian Graus2-Jan-02 0:52 
Generalmalloc() question Pin
1-Jan-02 17:26
suss1-Jan-02 17:26 
GeneralRe: malloc() question Pin
Philip Patrick1-Jan-02 19:14
professionalPhilip Patrick1-Jan-02 19:14 
GeneralRe: malloc() question Pin
1-Jan-02 19:15
suss1-Jan-02 19:15 
GeneralRe: malloc() question Pin
Philip Patrick1-Jan-02 19:23
professionalPhilip Patrick1-Jan-02 19:23 
Generalremove popup menu arrow Pin
1-Jan-02 15:35
suss1-Jan-02 15:35 
GeneralProblem with Multithreads Pin
Mustafa Demirhan1-Jan-02 6:06
Mustafa Demirhan1-Jan-02 6:06 
GeneralRe: Problem with Multithreads Pin
Mustafa Demirhan1-Jan-02 6:12
Mustafa Demirhan1-Jan-02 6:12 
I create the threads as follows (may help):
bool CTaskManager::LaunchTask (const CString &sTaskName, const CString &sTaskFolder)
{
	CTaskObject *pTask = FindTask (sTaskName, sTaskFolder);
	if (pTask)
	{
		if (pTask->m_bRunning)
			return true;
		
		pTask->m_bRunning = true;
		
		CTaskThread *pThread = new CTaskThread ();
		pThread->m_pTaskObject = pTask;
		pThread->m_pTaskManager = this;
		AddTaskThread (pThread);  // adds the thread pointer to a list
		pThread->CreateThread ();

		return true;
	}
	else
		return false;
	
	return true;
}


Thanks for any helps.


Kind regards
Mustafa Demirhan

http://www.macroangel.com

Sonork ID 100.9935:zoltrix
GeneralRe: Problem with Multithreads Pin
1-Jan-02 6:32
suss1-Jan-02 6:32 
GeneralRe: Problem with Multithreads Pin
1-Jan-02 6:56
suss1-Jan-02 6:56 
GeneralRe: Problem with Multithreads Pin
Todd Smith1-Jan-02 7:35
Todd Smith1-Jan-02 7:35 
GeneralRe: Problem with Multithreads Pin
Mustafa Demirhan1-Jan-02 8:59
Mustafa Demirhan1-Jan-02 8:59 
GeneralRe: Problem with Multithreads Pin
Michael Dunn1-Jan-02 9:30
sitebuilderMichael Dunn1-Jan-02 9:30 
GeneralRe: Problem with Multithreads Pin
Mustafa Demirhan2-Jan-02 0:33
Mustafa Demirhan2-Jan-02 0:33 
GeneralCompatibility Question Pin
1-Jan-02 3:37
suss1-Jan-02 3:37 
GeneralRe: Compatibility Question Pin
Philip Patrick1-Jan-02 3:50
professionalPhilip Patrick1-Jan-02 3:50 
GeneralHi, Philip ,look here... Pin
1-Jan-02 5:42
suss1-Jan-02 5:42 
GeneralRe: Hi, Philip ,look here... Pin
Philip Patrick1-Jan-02 6:02
professionalPhilip Patrick1-Jan-02 6:02 
GeneralWM_ Pin
The_Server1-Jan-02 2:41
The_Server1-Jan-02 2:41 
GeneralRe: WM_ Pin
Philip Patrick1-Jan-02 2:55
professionalPhilip Patrick1-Jan-02 2:55 
GeneralRe: WM_ Pin
The_Server1-Jan-02 3:17
The_Server1-Jan-02 3:17 
GeneralRe: WM_ Pin
Philip Patrick1-Jan-02 3:41
professionalPhilip Patrick1-Jan-02 3:41 
GeneralRe: WM_ Pin
1-Jan-02 3:25
suss1-Jan-02 3:25 
GeneralRe: WM_ Pin
Philip Patrick1-Jan-02 3:43
professionalPhilip Patrick1-Jan-02 3:43 
GeneralRe: WM_ Pin
Jörgen Sigvardsson1-Jan-02 4:07
Jörgen Sigvardsson1-Jan-02 4:07 

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.