Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Controling a Property Page in a Wizard Pin
Larry Mills Sr12-Nov-07 11:01
Larry Mills Sr12-Nov-07 11:01 
GeneralRe: Controling a Property Page in a Wizard Pin
David Crow12-Nov-07 12:05
David Crow12-Nov-07 12:05 
GeneralRe: Controling a Property Page in a Wizard Pin
Larry Mills Sr13-Nov-07 4:47
Larry Mills Sr13-Nov-07 4:47 
GeneralUser Interface Pin
Mark Salsbery9-Nov-07 12:09
Mark Salsbery9-Nov-07 12:09 
GeneralRe: User Interface Pin
Bram van Kampen10-Nov-07 14:13
Bram van Kampen10-Nov-07 14:13 
NewsRe: User Interface Pin
Mark Salsbery11-Nov-07 6:12
Mark Salsbery11-Nov-07 6:12 
GeneralRe: User Interface Pin
DevMentor.org10-Nov-07 15:17
DevMentor.org10-Nov-07 15:17 
Question_beginthread, can we create a thread in a class? [modified] Pin
Gofur Halmurat9-Nov-07 11:53
Gofur Halmurat9-Nov-07 11:53 
Hello,
I have a class which i created, it calculates some mathematical functions, Can i use or create "_beginthread" in the class?

i tried to do it, but i got this error:
error C2664: '_beginthread' : cannot convert parameter 1 from 'void (void *)' to 'void (__cdecl *)(void *)'




class CMaClasse<br />
{<br />
public:<br />
 void FoncAppnt(void* args);<br />
 void FoncApp(void* arg);<br />
};<br />
 <br />
void CMaClasse::FoncAppnt(void* args)<br />
{<br />
_beginthread(FoncApp,0,(void*)a); <br />
}<br />
 <br />
 <br />
void CMaClasse::FoncApp(void* arg)<br />
{<br />
 //...<br />
} 



-- modified at 18:18 Friday 9th November, 2007
AnswerRe: _beginthread, can we create a thread in a class? Pin
Mark Salsbery9-Nov-07 12:32
Mark Salsbery9-Nov-07 12:32 
GeneralRe: _beginthread, can we create a thread in a class? Pin
Gofur Halmurat9-Nov-07 12:39
Gofur Halmurat9-Nov-07 12:39 
GeneralRe: _beginthread, can we create a thread in a class? Pin
Mark Salsbery9-Nov-07 12:49
Mark Salsbery9-Nov-07 12:49 
GeneralRe: _beginthread, can we create a thread in a class? Pin
Gofur Halmurat9-Nov-07 13:15
Gofur Halmurat9-Nov-07 13:15 
AnswerRe: _beginthread, can we create a thread in a class? Pin
George L. Jackson9-Nov-07 13:25
George L. Jackson9-Nov-07 13:25 
AnswerRe: _beginthread, can we create a thread in a class? Pin
dtr19-Nov-07 20:37
dtr19-Nov-07 20:37 
QuestionRe: _beginthread, can we create a thread in a class? Pin
George L. Jackson10-Nov-07 0:05
George L. Jackson10-Nov-07 0:05 
AnswerRe: _beginthread, can we create a thread in a class? Pin
dtr110-Nov-07 0:17
dtr110-Nov-07 0:17 
QuestionRC2135 Pin
Dr. Emmett Brown9-Nov-07 11:51
Dr. Emmett Brown9-Nov-07 11:51 
Questioncheck for decimal in numerical string Pin
kani989-Nov-07 11:40
kani989-Nov-07 11:40 
AnswerRe: check for decimal in numerical string Pin
chandu0049-Nov-07 20:44
chandu0049-Nov-07 20:44 
AnswerRe: check for decimal in numerical string [modified] Pin
dtr19-Nov-07 21:13
dtr19-Nov-07 21:13 
GeneralRe: check for decimal in numerical string Pin
Mark Salsbery10-Nov-07 6:01
Mark Salsbery10-Nov-07 6:01 
AnswerRe: check for decimal in numerical string Pin
David Crow10-Nov-07 15:47
David Crow10-Nov-07 15:47 
GeneralRe: check for decimal in numerical string Pin
kani9813-Nov-07 6:29
kani9813-Nov-07 6:29 
QuestionCTreeCtrl not showing tree Pin
act_x9-Nov-07 10:20
act_x9-Nov-07 10:20 
AnswerRe: CTreeCtrl not showing tree Pin
Mark Salsbery9-Nov-07 10:30
Mark Salsbery9-Nov-07 10:30 

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.