Click here to Skip to main content
15,885,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: sending mail in vc++ Pin
David Crow21-Feb-06 6:14
David Crow21-Feb-06 6:14 
AnswerRe: sending mail in vc++ Pin
ThatsAlok22-Feb-06 3:11
ThatsAlok22-Feb-06 3:11 
QuestionUsing Base Classes Pin
Desmond Mardle21-Feb-06 5:13
Desmond Mardle21-Feb-06 5:13 
QuestionRe: Using Base Classes Pin
David Crow21-Feb-06 5:33
David Crow21-Feb-06 5:33 
AnswerRe: Using Base Classes Pin
Desmond Mardle21-Feb-06 6:29
Desmond Mardle21-Feb-06 6:29 
QuestionRe: Using Base Classes Pin
David Crow21-Feb-06 7:11
David Crow21-Feb-06 7:11 
AnswerRe: Using Base Classes Pin
Bob Flynn21-Feb-06 5:39
Bob Flynn21-Feb-06 5:39 
QuestionLoop error Pin
Deviantizh21-Feb-06 5:11
Deviantizh21-Feb-06 5:11 
hi. im new to vc++ and i need some help. im tryin to break a string into tokens, but the problem is that this loops runs one time more then it is supposed to .e.g. for a string with 4 tokens it runs 5 times on the 5th run it displays an empty message box and then i get "debug assertion failed" and something about Expression iStart>=0.
if i remove the while it runs once but without the error.

//m_LineList is a CStringList
POSITION pos = m_LineList.GetHeadPosition() ;
int strpos = 0;
CString str;
str = m_LineList.GetNext( pos );
CString temp="";
while ( str != '\0')
{
temp = str.Tokenize( "," , strpos );
MessageBox(temp);
};
AnswerRe: Loop error Pin
David Crow21-Feb-06 5:37
David Crow21-Feb-06 5:37 
AnswerRe: Loop error Pin
Joe Woodbury21-Feb-06 5:49
professionalJoe Woodbury21-Feb-06 5:49 
GeneralRe: Loop error Pin
Deviantizh21-Feb-06 6:05
Deviantizh21-Feb-06 6:05 
QuestionRe: Loop error Pin
Deviantizh21-Feb-06 6:18
Deviantizh21-Feb-06 6:18 
AnswerRe: Loop error Pin
Joe Woodbury21-Feb-06 7:23
professionalJoe Woodbury21-Feb-06 7:23 
GeneralRe: Loop error Pin
Deviantizh22-Feb-06 2:03
Deviantizh22-Feb-06 2:03 
QuestionModify the color of the scrollbar in Visual C++ Pin
Junyor21-Feb-06 4:50
Junyor21-Feb-06 4:50 
AnswerRe: Modify the color of the scrollbar in Visual C++ Pin
#realJSOP21-Feb-06 7:55
mve#realJSOP21-Feb-06 7:55 
Question((COleDispatchImpl*)&m_xDispatch)->Disconnect() Pin
RobJones21-Feb-06 4:47
RobJones21-Feb-06 4:47 
QuestionPossible to connect to multiple IE COM models through the ROT? Pin
TClarke21-Feb-06 4:00
TClarke21-Feb-06 4:00 
AnswerRe: Possible to connect to multiple IE COM models through the ROT? Pin
Stephen Hewitt21-Feb-06 11:38
Stephen Hewitt21-Feb-06 11:38 
GeneralRe: Possible to connect to multiple IE COM models through the ROT? Pin
TClarke21-Feb-06 22:45
TClarke21-Feb-06 22:45 
Questionhow get a function instruction length? Pin
HOW WHAT21-Feb-06 2:58
HOW WHAT21-Feb-06 2:58 
QuestionRe: how get a function instruction length? Pin
David Crow21-Feb-06 5:38
David Crow21-Feb-06 5:38 
AnswerRe: how get a function instruction length? Pin
HOW WHAT21-Feb-06 14:46
HOW WHAT21-Feb-06 14:46 
AnswerRe: how get a function instruction length? Pin
Joe Woodbury21-Feb-06 5:52
professionalJoe Woodbury21-Feb-06 5:52 
QuestionMessageBox() change line Pin
blang047721-Feb-06 2:48
blang047721-Feb-06 2:48 

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.