Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to draw a bit map when mouse is pressed ? Pin
Laxman Auti10-Apr-06 0:51
Laxman Auti10-Apr-06 0:51 
QuestionOpenFileDialog Pin
EhsB9-Apr-06 10:52
EhsB9-Apr-06 10:52 
QuestionKeyboard hook code explanation Pin
EvScott9-Apr-06 8:38
EvScott9-Apr-06 8:38 
AnswerRe: Keyboard hook code explanation Pin
PJ Arends9-Apr-06 10:04
professionalPJ Arends9-Apr-06 10:04 
AnswerRe: Keyboard hook code explanation Pin
Bram van Kampen9-Apr-06 15:01
Bram van Kampen9-Apr-06 15:01 
QuestionHOW TO DETECT MEMORY LEAKS Pin
Rafael Fernández López9-Apr-06 7:32
Rafael Fernández López9-Apr-06 7:32 
AnswerRe: HOW TO DETECT MEMORY LEAKS Pin
sunit59-Apr-06 19:12
sunit59-Apr-06 19:12 
QuestionSTL Qs Pin
RalfPeter9-Apr-06 6:10
RalfPeter9-Apr-06 6:10 
Hi all,

could any one help me with an STL problem? the code below throws an assertion error [_SCL_SECURE_VALIDATE(this->_Mycont != NULL); from vector.h, line 117] when executing line #5 only after executing line #4. Line #5 works fine as long as the 'if' block is not entered. I am using MSVC 2005 and did not have this problem with the previous version. Is there any change to the way STLs are handled now? Thx everyone,
Ralf.


1 ivFKey = szvCopy.begin();
2 while (ivFKey != szvCopy.end()) {
3 if (*ivFKey == szFKey) //delete all equal; what's left are 0-catches
4 szvCopy.erase(ivFKey);
5 ++ivFKey;
6 }



ralf.riedel@usm.edu
AnswerRe: STL Qs Pin
Chris Losinger9-Apr-06 7:07
professionalChris Losinger9-Apr-06 7:07 
AnswerRe: STL Qs Pin
Jörgen Sigvardsson9-Apr-06 10:40
Jörgen Sigvardsson9-Apr-06 10:40 
QuestionCArray of CBrush and CRgn Pin
stifmeister_ro9-Apr-06 6:10
stifmeister_ro9-Apr-06 6:10 
AnswerRe: CArray of CBrush and CRgn Pin
Michael Dunn9-Apr-06 7:15
sitebuilderMichael Dunn9-Apr-06 7:15 
QuestionKeyboard hook code explanation Pin
EvScott9-Apr-06 5:42
EvScott9-Apr-06 5:42 
AnswerRe: Keyboard hook code explanation Pin
David Crow10-Apr-06 3:32
David Crow10-Apr-06 3:32 
Questionstack trace Pin
LiYS9-Apr-06 4:17
LiYS9-Apr-06 4:17 
QuestionC++ ISO Compliance Pin
HalfWayMan9-Apr-06 4:11
HalfWayMan9-Apr-06 4:11 
AnswerRe: C++ ISO Compliance Pin
Hans9-Apr-06 7:03
Hans9-Apr-06 7:03 
GeneralRe: C++ ISO Compliance Pin
HalfWayMan10-Apr-06 7:34
HalfWayMan10-Apr-06 7:34 
Questionproblem in retrieving records Pin
swapna_signsin9-Apr-06 3:11
swapna_signsin9-Apr-06 3:11 
AnswerRe: problem in retrieving records Pin
thatsme_cool9-Apr-06 21:09
thatsme_cool9-Apr-06 21:09 
QuestionRe: problem in retrieving records Pin
David Crow10-Apr-06 3:41
David Crow10-Apr-06 3:41 
AnswerRe: problem in retrieving records Pin
swapna_signsin10-Apr-06 21:42
swapna_signsin10-Apr-06 21:42 
Questionhow can i get the main window after shellexecuteex Pin
supertianqu9-Apr-06 1:57
supertianqu9-Apr-06 1:57 
AnswerRe: how can i get the main window after shellexecuteex Pin
YaronNir9-Apr-06 2:23
YaronNir9-Apr-06 2:23 
QuestionHow to run a console application in MFC Pin
kflrei9-Apr-06 1:50
kflrei9-Apr-06 1:50 

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.