Click here to Skip to main content
15,909,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IActiveDesktop error Pin
Sarath C28-Jul-06 0:43
Sarath C28-Jul-06 0:43 
GeneralRe: IActiveDesktop error Pin
Hamid_RT28-Jul-06 0:56
Hamid_RT28-Jul-06 0:56 
AnswerRe: IActiveDesktop error Pin
Stephen Hewitt28-Jul-06 1:10
Stephen Hewitt28-Jul-06 1:10 
QuestionAfxBeginThread Pin
tanarnelinistit27-Jul-06 23:22
tanarnelinistit27-Jul-06 23:22 
AnswerRe: AfxBeginThread Pin
Cedric Moonen27-Jul-06 23:26
Cedric Moonen27-Jul-06 23:26 
QuestionRe: AfxBeginThread Pin
tanarnelinistit27-Jul-06 23:38
tanarnelinistit27-Jul-06 23:38 
AnswerRe: AfxBeginThread Pin
Cedric Moonen27-Jul-06 23:42
Cedric Moonen27-Jul-06 23:42 
QuestionRe: AfxBeginThread Pin
tanarnelinistit28-Jul-06 0:37
tanarnelinistit28-Jul-06 0:37 
This is my controling function
UINT CMina_sView::run(LPVOID p)<br />
{<br />
		<br />
     CMina_sView * me = (CMina_sView *)p;<br />
     me->ascultarea();<br />
     return 0;<br />
<br />
}

And this is how I start the thread
void CMina_sView::OnList() <br />
{	<br />
     running = TRUE;<br />
	 AfxBeginThread(run, this);<br />
}


I want to pass a paramater to ascultarea. How do i do it?
AnswerRe: AfxBeginThread Pin
Cedric Moonen28-Jul-06 0:45
Cedric Moonen28-Jul-06 0:45 
GeneralRe: AfxBeginThread Pin
tanarnelinistit28-Jul-06 0:55
tanarnelinistit28-Jul-06 0:55 
GeneralRe: AfxBeginThread Pin
Cedric Moonen28-Jul-06 1:04
Cedric Moonen28-Jul-06 1:04 
GeneralRe: AfxBeginThread Pin
tanarnelinistit28-Jul-06 1:30
tanarnelinistit28-Jul-06 1:30 
GeneralRe: AfxBeginThread Pin
Cedric Moonen28-Jul-06 1:35
Cedric Moonen28-Jul-06 1:35 
GeneralRe: AfxBeginThread Pin
tanarnelinistit28-Jul-06 1:53
tanarnelinistit28-Jul-06 1:53 
AnswerRe: AfxBeginThread Pin
Hamid_RT27-Jul-06 23:29
Hamid_RT27-Jul-06 23:29 
Questionfiles displayed on the CFileDialog Pin
see me27-Jul-06 23:14
see me27-Jul-06 23:14 
Questionmem allocation in console app Pin
9ine27-Jul-06 23:00
9ine27-Jul-06 23:00 
AnswerRe: mem allocation in console app Pin
Jonathan [Darka]27-Jul-06 23:02
professionalJonathan [Darka]27-Jul-06 23:02 
AnswerRe: mem allocation in console app Pin
toxcct27-Jul-06 23:02
toxcct27-Jul-06 23:02 
GeneralRe: mem allocation in console app Pin
9ine27-Jul-06 23:25
9ine27-Jul-06 23:25 
GeneralRe: mem allocation in console app Pin
toxcct27-Jul-06 23:29
toxcct27-Jul-06 23:29 
GeneralRe: mem allocation in console app Pin
9ine28-Jul-06 0:57
9ine28-Jul-06 0:57 
GeneralRe: mem allocation in console app Pin
Zac Howland28-Jul-06 9:30
Zac Howland28-Jul-06 9:30 
GeneralRe: mem allocation in console app Pin
9ine1-Aug-06 6:24
9ine1-Aug-06 6:24 
GeneralRe: mem allocation in console app Pin
Gary R. Wheeler29-Jul-06 3:31
Gary R. Wheeler29-Jul-06 3:31 

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.