Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: To know career's scope in which programming language Pin
Richard MacCutchan4-Aug-13 20:50
mveRichard MacCutchan4-Aug-13 20:50 
AnswerRe: To know career's scope in which programming language Pin
pasztorpisti5-Aug-13 0:51
pasztorpisti5-Aug-13 0:51 
GeneralRe: To know career's scope in which programming language Pin
ExcellentOrg5-Aug-13 22:30
ExcellentOrg5-Aug-13 22:30 
GeneralRe: To know career's scope in which programming language Pin
pasztorpisti5-Aug-13 22:53
pasztorpisti5-Aug-13 22:53 
AnswerRe: To know career's scope in which programming language Pin
Erudite_Eric5-Aug-13 22:44
Erudite_Eric5-Aug-13 22:44 
AnswerRe: To know career's scope in which programming language Pin
Joe Woodbury9-Aug-13 11:02
professionalJoe Woodbury9-Aug-13 11:02 
AnswerRe: To know career's scope in which programming language Pin
Amarnath S12-Aug-13 1:30
professionalAmarnath S12-Aug-13 1:30 
QuestionAccess Violation CwinThread::CreateThread Pin
ForNow3-Aug-13 21:32
ForNow3-Aug-13 21:32 
Hi,

I am using the 2 step process CWinThread constructer and CreateThread to Create a UI thread

and I am getting a Access Violation somewhere in CWinThread::CreateThread

From the debugger I can already see that the thread has been created as the thread id from

DEBUG->threads matches m_nThreadID

The address where the access violation occurs matches the pointer to my derived CWinThread pointer

threadptr[I}

C++
threadptr[i] = NULL;
threadptr[i] = new SockCLeintThread(start_port);


       if (threadptr[i] == NULL)
              m_pMainWnd->MessageBox((LPCTSTR)"SockClientThreadFail",NULL,MB_ICONERROR);

            threadptr[i]->CreateThread(CREATE_SUSPENDED,0,NULL);

AnswerRe: Access Violation CwinThread::CreateThread Pin
Richard MacCutchan4-Aug-13 2:06
mveRichard MacCutchan4-Aug-13 2:06 
GeneralRe: Access Violation CwinThread::CreateThread Pin
ForNow4-Aug-13 2:46
ForNow4-Aug-13 2:46 
QuestionRe: Access Violation CwinThread::CreateThread Pin
Richard MacCutchan4-Aug-13 3:53
mveRichard MacCutchan4-Aug-13 3:53 
AnswerRe: Access Violation CwinThread::CreateThread Pin
ForNow4-Aug-13 6:23
ForNow4-Aug-13 6:23 
AnswerRe: Access Violation CwinThread::CreateThread Pin
Erudite_Eric5-Aug-13 22:46
Erudite_Eric5-Aug-13 22:46 
GeneralRe: Access Violation CwinThread::CreateThread Pin
ForNow6-Aug-13 1:21
ForNow6-Aug-13 1:21 
GeneralRe: Access Violation CwinThread::CreateThread Pin
Joe Woodbury9-Aug-13 11:12
professionalJoe Woodbury9-Aug-13 11:12 
GeneralRe: Access Violation CwinThread::CreateThread Pin
Erudite_Eric16-Aug-13 23:04
Erudite_Eric16-Aug-13 23:04 
AnswerRe: Access Violation CwinThread::CreateThread Pin
Stephen Hewitt7-Aug-13 20:55
Stephen Hewitt7-Aug-13 20:55 
AnswerRe: Access Violation CwinThread::CreateThread Pin
pasztorpisti17-Aug-13 4:47
pasztorpisti17-Aug-13 4:47 
QuestionUsing stream_traits for file io serialization question Pin
EQ Learner3-Aug-13 12:03
EQ Learner3-Aug-13 12:03 
AnswerRe: Using stream_traits for file io serialization question Pin
«_Superman_»4-Aug-13 20:22
professional«_Superman_»4-Aug-13 20:22 
QuestionHow to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo2-Aug-13 18:53
ahuzhangbo2-Aug-13 18:53 
AnswerRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Richard MacCutchan2-Aug-13 21:51
mveRichard MacCutchan2-Aug-13 21:51 
AnswerRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Erudite_Eric3-Aug-13 3:23
Erudite_Eric3-Aug-13 3:23 
QuestionMFC FeaturePack application is not running in client PC. Pin
Anu_Bala1-Aug-13 20:19
Anu_Bala1-Aug-13 20:19 
AnswerRe: MFC FeaturePack application is not running in client PC. Pin
Richard MacCutchan1-Aug-13 20:24
mveRichard MacCutchan1-Aug-13 20:24 

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.