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

C / C++ / MFC

 
AnswerRe: help me to cut a CString to many pieces Pin
David Crow9-Sep-09 10:57
David Crow9-Sep-09 10:57 
AnswerRe: help me to cut a CString to many pieces Pin
Joe Woodbury9-Sep-09 13:03
professionalJoe Woodbury9-Sep-09 13:03 
QuestionFeeEnterView.obj : error LNK2019: unresolved external symbol "public: __thiscall ATL::CTime::CTime(void)" [modified] Pin
Vetukuri Raju9-Sep-09 4:55
Vetukuri Raju9-Sep-09 4:55 
QuestionAccessing files which are in JAR Pin
Azghar Hussain9-Sep-09 2:50
professionalAzghar Hussain9-Sep-09 2:50 
AnswerRe: Accessing files which are in JAR Pin
David Crow9-Sep-09 3:16
David Crow9-Sep-09 3:16 
QuestionRe: Accessing files which are in JAR Pin
CPallini9-Sep-09 3:20
mveCPallini9-Sep-09 3:20 
AnswerRe: Accessing files which are in JAR Pin
Michael Schubert9-Sep-09 21:20
Michael Schubert9-Sep-09 21:20 
QuestionVC++ Basic Threading - help Pin
GC1049-Sep-09 1:31
GC1049-Sep-09 1:31 
I am creating a vs2005 vc++ application and trying to get a secondary thread setup and working. I have read through the various postings and tried to put some code together but it won't compile.

I am trying to start the new thread from a menu item via a message handler based in my application's 'CView' based class. I have created a new class of my own (GcWorkerThread) and is derived from CWinThread, and contains a member function 'GcThreadFunction'

calling code:

int x;
CWinThread *pThread = AfxBeginThread (GcThreadFunction, x);




UINT GcWorkerThread::GcThreadFunction (LPVOID pParam)
{
 int t;
 for (int y=0; y<1000000; y++
 {
 }

}



When is comes to compiling the code I get an error:
"Error C3867 'GcWorkerThread::GcThreadFunction' function call missing argument list
use &GcWorkerThread::GcThreadFunction to create a pointer to member"

What am I doing wrong?
Frown | :(
AnswerRe: VC++ Basic Threading - help Pin
CPallini9-Sep-09 1:59
mveCPallini9-Sep-09 1:59 
AnswerRe: VC++ Basic Threading - help Pin
Selvam R9-Sep-09 2:11
professionalSelvam R9-Sep-09 2:11 
AnswerRe: VC++ Basic Threading - help [Updated] Pin
Nuri Ismail9-Sep-09 2:28
Nuri Ismail9-Sep-09 2:28 
AnswerRe: VC++ Basic Threading - help Pin
GC1049-Sep-09 4:12
GC1049-Sep-09 4:12 
GeneralRe: VC++ Basic Threading - help Pin
Cedric Moonen9-Sep-09 4:20
Cedric Moonen9-Sep-09 4:20 
AnswerRe: VC++ Basic Threading - help Pin
Rajesh R Subramanian9-Sep-09 6:07
professionalRajesh R Subramanian9-Sep-09 6:07 
GeneralRe: VC++ Basic Threading - help Pin
GC10410-Sep-09 23:01
GC10410-Sep-09 23:01 
QuestionHow do I rename Outlook Pst newly created folder 'Personal Folders' programmatically ? Pin
SherTeks9-Sep-09 0:54
SherTeks9-Sep-09 0:54 
AnswerRe: How do I rename Outlook Pst newly created folder 'Personal Folders' programmatically ? Pin
Selvam R9-Sep-09 1:22
professionalSelvam R9-Sep-09 1:22 
AnswerRe: How do I rename Outlook Pst newly created folder 'Personal Folders' programmatically ? Pin
Adam Roderick J9-Sep-09 1:31
Adam Roderick J9-Sep-09 1:31 
Questionhow to create conference with iaxclient.dll? Pin
nitu dhanurved9-Sep-09 0:48
nitu dhanurved9-Sep-09 0:48 
AnswerRe: how to create conference with iaxclient.dll? Pin
Adam Roderick J9-Sep-09 2:09
Adam Roderick J9-Sep-09 2:09 
AnswerRe: how to create conference with iaxclient.dll? Pin
Richard MacCutchan9-Sep-09 3:07
mveRichard MacCutchan9-Sep-09 3:07 
QuestionCVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju8-Sep-09 23:40
Vetukuri Raju8-Sep-09 23:40 
AnswerRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Adam Roderick J9-Sep-09 0:02
Adam Roderick J9-Sep-09 0:02 
GeneralRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Vetukuri Raju9-Sep-09 0:20
Vetukuri Raju9-Sep-09 0:20 
QuestionRe: CVTRES : fatal error CVT1100: duplicate resource. type:DIALOG, name:PRINTSTATUS, language:0x0409 Pin
Adam Roderick J9-Sep-09 0:32
Adam Roderick J9-Sep-09 0:32 

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.