Click here to Skip to main content
15,891,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAfxBeginThread Pin
viperlogic3-Apr-06 6:38
viperlogic3-Apr-06 6:38 
AnswerRe: AfxBeginThread Pin
includeh103-Apr-06 7:01
includeh103-Apr-06 7:01 
AnswerRe: AfxBeginThread Pin
David Crow3-Apr-06 7:07
David Crow3-Apr-06 7:07 
GeneralRe: AfxBeginThread Pin
viperlogic3-Apr-06 7:39
viperlogic3-Apr-06 7:39 
GeneralRe: AfxBeginThread Pin
David Crow3-Apr-06 7:51
David Crow3-Apr-06 7:51 
GeneralRe: AfxBeginThread Pin
viperlogic3-Apr-06 8:22
viperlogic3-Apr-06 8:22 
QuestionRe: AfxBeginThread Pin
David Crow3-Apr-06 8:31
David Crow3-Apr-06 8:31 
AnswerRe: AfxBeginThread Pin
viperlogic3-Apr-06 8:58
viperlogic3-Apr-06 8:58 
ok this is what i have..

static UINT CScanDlg::ThreadProc(LPVOID pParam); delcared in the header file



<br />
AfxBeginThread(ThreadProc,NULL,THREAD_PRIORITY_NORMAL,0,0,NULL);<br />


<br />
UINT CScanDlg::ThreadProc(LPVOID pParam)<br />
{<br />
	if(wmi(strIP1))<br />
		return 0;<br />
	else<br />
		return 1;<br />
}<br />



i get the following error
CScanDlg::wmi' : illegal call of non-static member function
GeneralRe: AfxBeginThread Pin
David Crow3-Apr-06 9:09
David Crow3-Apr-06 9:09 
GeneralRe: AfxBeginThread Pin
viperlogic3-Apr-06 9:33
viperlogic3-Apr-06 9:33 
QuestionGarbled output using cerr in piped programs Pin
Stian Andre Olsen3-Apr-06 5:56
Stian Andre Olsen3-Apr-06 5:56 
QuestionSTL next_permutation Pin
thepersonof3-Apr-06 5:11
thepersonof3-Apr-06 5:11 
AnswerRe: STL next_permutation Pin
Taka Muraoka3-Apr-06 5:23
Taka Muraoka3-Apr-06 5:23 
QuestionInitThunk Pin
HakunaMatada3-Apr-06 3:14
HakunaMatada3-Apr-06 3:14 
QuestionHot toconnect databases to dialog based project Pin
swapna_signsin3-Apr-06 3:00
swapna_signsin3-Apr-06 3:00 
AnswerRe: Hot toconnect databases to dialog based project Pin
Waldermort3-Apr-06 3:05
Waldermort3-Apr-06 3:05 
GeneralRe: Hot toconnect databases to dialog based project Pin
swapna_signsin3-Apr-06 4:05
swapna_signsin3-Apr-06 4:05 
AnswerRe: Hot toconnect databases to dialog based project Pin
thatsme_cool3-Apr-06 3:07
thatsme_cool3-Apr-06 3:07 
AnswerRe: Hot toconnect databases to dialog based project Pin
David Crow3-Apr-06 3:56
David Crow3-Apr-06 3:56 
GeneralRe: How toconnect databases to dialog based project Pin
swapna_signsin3-Apr-06 4:17
swapna_signsin3-Apr-06 4:17 
GeneralRe: How toconnect databases to dialog based project Pin
David Crow3-Apr-06 4:39
David Crow3-Apr-06 4:39 
GeneralHow do u connect to DSN Pin
swapna_signsin3-Apr-06 4:34
swapna_signsin3-Apr-06 4:34 
GeneralRe: How do u connect to DSN Pin
David Crow3-Apr-06 4:45
David Crow3-Apr-06 4:45 
GeneralRe: How do u connect to DSN Pin
swapna_signsin3-Apr-06 5:24
swapna_signsin3-Apr-06 5:24 
GeneralRe: How do u connect to DSN Pin
David Crow3-Apr-06 5:28
David Crow3-Apr-06 5:28 

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.