Click here to Skip to main content
15,918,041 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: file path Pin
_AnsHUMAN_ 17-May-07 2:22
_AnsHUMAN_ 17-May-07 2:22 
GeneralRe: file path Pin
_AnsHUMAN_ 17-May-07 2:24
_AnsHUMAN_ 17-May-07 2:24 
GeneralRe: file path Pin
Hamid_RT17-May-07 2:33
Hamid_RT17-May-07 2:33 
JokeRe: file path Pin
_AnsHUMAN_ 17-May-07 2:19
_AnsHUMAN_ 17-May-07 2:19 
QuestionAssertion fail Pin
Max++17-May-07 1:19
Max++17-May-07 1:19 
AnswerRe: Assertion fail Pin
CPallini17-May-07 1:35
mveCPallini17-May-07 1:35 
AnswerRe: Assertion fail Pin
Hans Dietrich17-May-07 1:35
mentorHans Dietrich17-May-07 1:35 
AnswerRe: Assertion fail Pin
Nelek17-May-07 20:20
protectorNelek17-May-07 20:20 
Hi,

if you are accesing the CString with [] operator, try to make it in the right borders. For example:

for (int i = 0; i < str.GetLength (); i++)
{
//do what you want
}

with this you will stay allways in Strings' limits.

return of GetLength () - 1 = max_position of the operator [] allowed

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Questionhow to resolve this issue? Pin
gentleguy17-May-07 1:14
gentleguy17-May-07 1:14 
QuestionRe: how to resolve this issue? Pin
Mark Salsbery17-May-07 5:32
Mark Salsbery17-May-07 5:32 
QuestionMemory Leaks with Modal Dialog Boxes Pin
jerrylarsen17-May-07 0:37
jerrylarsen17-May-07 0:37 
AnswerRe: Memory Leaks with Modal Dialog Boxes Pin
toxcct17-May-07 0:49
toxcct17-May-07 0:49 
AnswerRe: Memory Leaks with Modal Dialog Boxes Pin
Hamid_RT17-May-07 1:32
Hamid_RT17-May-07 1:32 
AnswerRe: Memory Leaks with Modal Dialog Boxes Pin
Maximilien17-May-07 1:37
Maximilien17-May-07 1:37 
AnswerRe: Memory Leaks with Modal Dialog Boxes Pin
jerrylarsen17-May-07 3:15
jerrylarsen17-May-07 3:15 
AnswerRe: Memory Leaks with Modal Dialog Boxes Pin
krmed17-May-07 5:21
krmed17-May-07 5:21 
QuestionHow To Paste Clipboard data in TextBox In Other Dialog Pin
Zhen-Xlogic17-May-07 0:24
Zhen-Xlogic17-May-07 0:24 
AnswerRe: How To Paste Clipboard data in TextBox In Other Dialog Pin
Hans Dietrich17-May-07 0:35
mentorHans Dietrich17-May-07 0:35 
GeneralRe: How To Paste Clipboard data in TextBox In Other Dialog Pin
Zhen-Xlogic17-May-07 0:54
Zhen-Xlogic17-May-07 0:54 
GeneralRe: How To Paste Clipboard data in TextBox In Other Dialog Pin
Hamid_RT17-May-07 1:31
Hamid_RT17-May-07 1:31 
GeneralRe: How To Paste Clipboard data in TextBox In Other Dialog Pin
Zhen-Xlogic17-May-07 1:36
Zhen-Xlogic17-May-07 1:36 
GeneralRe: How To Paste Clipboard data in TextBox In Other Dialog Pin
Hamid_RT17-May-07 1:45
Hamid_RT17-May-07 1:45 
GeneralRe: How To Paste Clipboard data in TextBox In Other Dialog Pin
Hans Dietrich17-May-07 1:32
mentorHans Dietrich17-May-07 1:32 
GeneralRe: How To Paste Clipboard data in TextBox In Other Dialog Pin
Zhen-Xlogic17-May-07 10:15
Zhen-Xlogic17-May-07 10:15 
GeneralRe: How To Paste Clipboard data in TextBox In Other Dialog Pin
Hans Dietrich17-May-07 21:35
mentorHans Dietrich17-May-07 21:35 

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.