Click here to Skip to main content
15,887,867 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CToolBar disable/enable buttons Pin
Romiks16-Jun-07 23:37
Romiks16-Jun-07 23:37 
GeneralRe: CToolBar disable/enable buttons Pin
Mark Salsbery17-Jun-07 7:29
Mark Salsbery17-Jun-07 7:29 
GeneralRe: CToolBar disable/enable buttons Pin
Mark Salsbery17-Jun-07 8:09
Mark Salsbery17-Jun-07 8:09 
GeneralRe: CToolBar disable/enable buttons Pin
Romiks17-Jun-07 18:58
Romiks17-Jun-07 18:58 
GeneralRe: CToolBar disable/enable buttons Pin
Mark Salsbery18-Jun-07 4:29
Mark Salsbery18-Jun-07 4:29 
GeneralRe: CToolBar disable/enable buttons Pin
Romiks18-Jun-07 5:52
Romiks18-Jun-07 5:52 
QuestionMerge Modules Pin
bob169727-Jun-07 7:42
bob169727-Jun-07 7:42 
Questionerror C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
shivditya7-Jun-07 7:17
shivditya7-Jun-07 7:17 
While creating simple test multithreading application ,I am getting this bug.
I made function global.I dont want to declare static,I dont know whats wrong.

void CCustom1Dlg::OnButton1()
{
// TODO: Add your control notification handler code here
int m = 5;
CWinThread* tt;
tt = AfxBeginThread(Myfunc,&m,THREAD_PRIORITY_NORMAL,0,0,NULL);
}

UINT Myfunc(LPVOID pParam)
{
int* co = reinterpret_cast<int*>(pParam);
return 0;
}
Can anyone tell me,I searched many articles for bug,and all concludes that it must be
global or static,now I have global.still bug is pidding. My project settings are proper
for run time library.

|| ART OF LIVING ||

AnswerRe: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
Mark Salsbery7-Jun-07 7:27
Mark Salsbery7-Jun-07 7:27 
GeneralRe: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
bolivar1237-Jun-07 7:28
bolivar1237-Jun-07 7:28 
GeneralRe: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
Mark Salsbery7-Jun-07 7:29
Mark Salsbery7-Jun-07 7:29 
QuestionRe: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
shivditya9-Jun-07 5:34
shivditya9-Jun-07 5:34 
AnswerRe: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
Mark Salsbery9-Jun-07 7:56
Mark Salsbery9-Jun-07 7:56 
GeneralRe: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
shivditya10-Jun-07 22:14
shivditya10-Jun-07 22:14 
AnswerRe: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
bolivar1237-Jun-07 7:27
bolivar1237-Jun-07 7:27 
QuestionRe: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
David Crow7-Jun-07 10:28
David Crow7-Jun-07 10:28 
JokeRe: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
shivditya9-Jun-07 5:40
shivditya9-Jun-07 5:40 
JokeRe: error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'void (void)' Pin
shivditya9-Jun-07 5:41
shivditya9-Jun-07 5:41 
QuestionCE C++ - list control color and font problems Pin
LaCoder7-Jun-07 6:25
LaCoder7-Jun-07 6:25 
AnswerRe: CE C++ - list control color and font problems Pin
Matthew Faithfull7-Jun-07 7:42
Matthew Faithfull7-Jun-07 7:42 
QuestionCE C++ - static text font and size how to [modified] Pin
LaCoder7-Jun-07 6:15
LaCoder7-Jun-07 6:15 
AnswerRe: CE C++ - static text font and size how to Pin
Matthew Faithfull7-Jun-07 6:33
Matthew Faithfull7-Jun-07 6:33 
GeneralRe: CE C++ - static text font and size how to Pin
LaCoder7-Jun-07 6:50
LaCoder7-Jun-07 6:50 
AnswerRe: CE C++ - static text font and size how to Pin
Anurag Gandhi7-Jun-07 6:35
professionalAnurag Gandhi7-Jun-07 6:35 
GeneralRe: CE C++ - static text font and size how to Pin
LaCoder7-Jun-07 6:53
LaCoder7-Jun-07 6:53 

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.