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

C / C++ / MFC

 
AnswerRe: zipping files in C++ Pin
jhwurmbach9-Oct-06 2:21
jhwurmbach9-Oct-06 2:21 
AnswerRe: zipping files in C++ Pin
Hamid_RT9-Oct-06 18:58
Hamid_RT9-Oct-06 18:58 
QuestionHICON problem Pin
HakunaMatada9-Oct-06 1:33
HakunaMatada9-Oct-06 1:33 
AnswerRe: HICON problem Pin
Hamid_RT9-Oct-06 1:48
Hamid_RT9-Oct-06 1:48 
GeneralRe: HICON problem Pin
HakunaMatada9-Oct-06 1:56
HakunaMatada9-Oct-06 1:56 
GeneralRe: HICON problem Pin
Hamid_RT9-Oct-06 2:18
Hamid_RT9-Oct-06 2:18 
AnswerRe: HICON problem Pin
Galatei9-Oct-06 2:11
Galatei9-Oct-06 2:11 
Questionpassing param to the thread function Pin
singersinger9-Oct-06 1:29
singersinger9-Oct-06 1:29 
the problem is that i have a thread function
<br />
UINT threadfun(LPVOID param)<br />
{<br />
CList list = (CList)param;<br />
}<br />


and i want to pass param to this function using AfxBeginThread
<br />
AfxBeginThread(threadfun,(WPARAM)m_List); <br />

where "m_List" is from a type defined variable
<br />
typedef CTypedPtrList<CPtrList , tagPLAYLISTENTRY*> CList;<br />

the compiler generate this error:
1- 'CList' : undeclared identifier
2- syntax error : missing ';' before identifier 'list'
3- 'list' : undeclared identifier

i know he can not see this type "CList" inside the function
but what is the solution of this , and how can i make it work

thnx alot 4 ur time and concern.
AnswerRe: passing param to the thread function Pin
Nibu babu thomas9-Oct-06 1:38
Nibu babu thomas9-Oct-06 1:38 
GeneralRe: passing param to the thread function Pin
singersinger9-Oct-06 2:17
singersinger9-Oct-06 2:17 
GeneralRe: passing param to the thread function Pin
Galatei9-Oct-06 2:44
Galatei9-Oct-06 2:44 
GeneralRe: passing param to the thread function Pin
singersinger9-Oct-06 2:29
singersinger9-Oct-06 2:29 
AnswerRe: passing param to the thread function Pin
David Crow9-Oct-06 4:09
David Crow9-Oct-06 4:09 
AnswerRe: passing param to the thread function Pin
Zac Howland9-Oct-06 5:14
Zac Howland9-Oct-06 5:14 
NewsRe: passing param to the thread function Pin
singersinger10-Oct-06 1:56
singersinger10-Oct-06 1:56 
Questiondialog box color Pin
zon_cpp9-Oct-06 0:06
zon_cpp9-Oct-06 0:06 
AnswerRe: dialog box color Pin
Hamid_RT9-Oct-06 1:24
Hamid_RT9-Oct-06 1:24 
QuestionBoolean statments Pin
Learn2LikeIt9-Oct-06 0:04
Learn2LikeIt9-Oct-06 0:04 
AnswerRe: Boolean statments Pin
benjymous9-Oct-06 0:09
benjymous9-Oct-06 0:09 
AnswerRe: Boolean statments Pin
toxcct9-Oct-06 0:11
toxcct9-Oct-06 0:11 
AnswerRe: Boolean statments Pin
Hamid_RT9-Oct-06 1:23
Hamid_RT9-Oct-06 1:23 
GeneralRe: Boolean statments [modified] Pin
kakan9-Oct-06 1:48
professionalkakan9-Oct-06 1:48 
GeneralRe: Boolean statments Pin
Hamid_RT9-Oct-06 2:18
Hamid_RT9-Oct-06 2:18 
GeneralRe: Boolean statments Pin
kakan9-Oct-06 2:23
professionalkakan9-Oct-06 2:23 
GeneralRe: Boolean statments Pin
Zac Howland9-Oct-06 5:16
Zac Howland9-Oct-06 5:16 

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.