Click here to Skip to main content
11,482,039 members (62,672 online)

C / C++ / MFC

 
AnswerRe: [RESOLVED] Message Box will not show on top of window Pin
Arun S J18-Nov-12 21:16
memberArun S J18-Nov-12 21:16 
QuestionUsing make file Pin
HungryCPPDev15-Nov-12 1:55
memberHungryCPPDev15-Nov-12 1:55 
AnswerRe: Using make file Pin
Jochen Arndt15-Nov-12 3:20
memberJochen Arndt15-Nov-12 3:20 
Questionhow to create an Un-sorted map in c++ Pin
narmada Padhy14-Nov-12 19:04
membernarmada Padhy14-Nov-12 19:04 
AnswerRe: how to create an Un-sorted map in c++ Pin
Richard MacCutchan14-Nov-12 22:01
mvpRichard MacCutchan14-Nov-12 22:01 
AnswerRe: how to create an Un-sorted map in c++ Pin
Stephen Hewitt14-Nov-12 23:57
memberStephen Hewitt14-Nov-12 23:57 
AnswerRe: how to create an Un-sorted map in c++ Pin
Arun S J18-Nov-12 19:20
memberArun S J18-Nov-12 19:20 
NewsSoftware Engineer (C++) needed in Singapore!! Pin
darkxfire14-Nov-12 18:39
memberdarkxfire14-Nov-12 18:39 
GeneralRe: Software Engineer (C++) needed in Singapore!! Pin
Arun S J18-Nov-12 19:27
memberArun S J18-Nov-12 19:27 
QuestionError MSB6006: "CL.exe" Pin
john563213-Nov-12 23:41
memberjohn563213-Nov-12 23:41 
QuestionRe: Error MSB6006: "CL.exe" Pin
DavidCrow14-Nov-12 4:23
memberDavidCrow14-Nov-12 4:23 
QuestionUDP ports 500 and 4500 are busy? Pin
v_iv13-Nov-12 19:46
memberv_iv13-Nov-12 19:46 
AnswerRe: UDP ports 500 and 4500 are busy? Pin
Richard MacCutchan13-Nov-12 23:34
mvpRichard MacCutchan13-Nov-12 23:34 
QuestionI am Bemused about std::list<> Pin
yu-jian13-Nov-12 5:17
groupyu-jian13-Nov-12 5:17 
 
// Define 
std::list<SMyFrameData*>    m_FrameList;
CCriticalSection	m_FrameListLock;
... 
 
        //Pop the frame data from the font of list.
	CTempLock tempLock(&m_FrameListLock);
	if (m_FrameList.size() == 0) return 0L;
 
	pFrameData = m_FrameList.front();
	m_FrameList.pop_front();
        ... Decoder the frame data

                // use following code to push the frame data to the list.
              	SMyFrameData* pNewFrame = new SMyFrameData();
		pNewFrame->lpData = pBuf;
		pNewFrame->iSize	=	iSize;
 
		CTempLock (&(pProcess->m_FrameListLock));
		pProcess->m_FrameList.push_back(pNewFrame);
		SetEvent(pProcess->m_hFrameProcessEvent);

But now there is a error happen "erators and references can become invalid." in code, pFrameData = m_FrameList.front(); I just use the CCriticalSection to avoid the conflict, but why the error happen.
AnswerRe: I am Bemused about std::list<> Pin
Richard MacCutchan13-Nov-12 6:37
mvpRichard MacCutchan13-Nov-12 6:37 
GeneralRe: I am Bemused about std::list<> [modified] Pin
Stephen Hewitt13-Nov-12 7:03
memberStephen Hewitt13-Nov-12 7:03 
GeneralRe: I am Bemused about std::list<> Pin
yu-jian13-Nov-12 7:25
groupyu-jian13-Nov-12 7:25 
GeneralRe: I am Bemused about std::list<> [modified] Pin
Richard MacCutchan13-Nov-12 7:38
mvpRichard MacCutchan13-Nov-12 7:38 
GeneralRe: I am Bemused about std::list<> Pin
Stephen Hewitt13-Nov-12 16:04
memberStephen Hewitt13-Nov-12 16:04 
GeneralRe: I am Bemused about std::list<> [modified] Pin
Richard MacCutchan13-Nov-12 21:59
mvpRichard MacCutchan13-Nov-12 21:59 
GeneralRe: I am Bemused about std::list<> Pin
Stephen Hewitt14-Nov-12 0:54
memberStephen Hewitt14-Nov-12 0:54 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan14-Nov-12 0:58
mvpRichard MacCutchan14-Nov-12 0:58 
GeneralRe: I am Bemused about std::list<> Pin
Stephen Hewitt14-Nov-12 1:58
memberStephen Hewitt14-Nov-12 1:58 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan14-Nov-12 2:30
mvpRichard MacCutchan14-Nov-12 2:30 
GeneralRe: I am Bemused about std::list<> Pin
Stephen Hewitt14-Nov-12 3:06
memberStephen Hewitt14-Nov-12 3:06 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan14-Nov-12 3:26
mvpRichard MacCutchan14-Nov-12 3:26 
GeneralRe: I am Bemused about std::list<> [modified] Pin
Stephen Hewitt14-Nov-12 3:30
memberStephen Hewitt14-Nov-12 3:30 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan14-Nov-12 4:36
mvpRichard MacCutchan14-Nov-12 4:36 
GeneralRe: I am Bemused about std::list<> Pin
DavidCrow14-Nov-12 4:16
memberDavidCrow14-Nov-12 4:16 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan14-Nov-12 4:32
mvpRichard MacCutchan14-Nov-12 4:32 
GeneralRe: I am Bemused about std::list<> Pin
yu-jian13-Nov-12 7:25
groupyu-jian13-Nov-12 7:25 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan13-Nov-12 7:43
mvpRichard MacCutchan13-Nov-12 7:43 
QuestionRe: I am Bemused about std::list<> Pin
DavidCrow13-Nov-12 9:05
memberDavidCrow13-Nov-12 9:05 
AnswerRe: I am Bemused about std::list<> Pin
Stephen Hewitt13-Nov-12 16:13
memberStephen Hewitt13-Nov-12 16:13 
QuestionPDF Accessing problem Pin
BianChengNan12-Nov-12 18:22
memberBianChengNan12-Nov-12 18:22 
QuestionSendMessage(...) MFC is not working in win 7 enterprise edition Pin
vikuseth12-Nov-12 9:02
membervikuseth12-Nov-12 9:02 
AnswerRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
Richard MacCutchan12-Nov-12 10:11
mvpRichard MacCutchan12-Nov-12 10:11 
GeneralRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
vikuseth12-Nov-12 10:29
membervikuseth12-Nov-12 10:29 
GeneralRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
Richard MacCutchan12-Nov-12 10:35
mvpRichard MacCutchan12-Nov-12 10:35 
GeneralRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
vikuseth12-Nov-12 10:39
membervikuseth12-Nov-12 10:39 
GeneralRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
Richard MacCutchan13-Nov-12 0:01
mvpRichard MacCutchan13-Nov-12 0:01 
QuestionRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
DavidCrow12-Nov-12 11:18
memberDavidCrow12-Nov-12 11:18 
AnswerRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
vikuseth12-Nov-12 23:07
membervikuseth12-Nov-12 23:07 
AnswerRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
vikuseth14-Nov-12 2:04
membervikuseth14-Nov-12 2:04 
QuestionDoes this way to clear all item from std::map have problem? Pin
yu-jian11-Nov-12 2:47
groupyu-jian11-Nov-12 2:47 
AnswerRe: Does this way to clear all item from std::map have problem? Pin
Richard MacCutchan11-Nov-12 7:18
mvpRichard MacCutchan11-Nov-12 7:18 
GeneralRe: Does this way to clear all item from std::map have problem? Pin
yu-jian11-Nov-12 20:50
groupyu-jian11-Nov-12 20:50 
GeneralRe: Does this way to clear all item from std::map have problem? Pin
Richard MacCutchan11-Nov-12 22:35
mvpRichard MacCutchan11-Nov-12 22:35 
GeneralRe: Does this way to clear all item from std::map have problem? Pin
Stephen Hewitt12-Nov-12 2:43
memberStephen Hewitt12-Nov-12 2:43 
GeneralRe: Does this way to clear all item from std::map have problem? Pin
yu-jian12-Nov-12 4:06
groupyu-jian12-Nov-12 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 24 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid