Click here to Skip to main content
15,889,034 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Find a string in another string? Pin
Cedric Moonen9-Jun-09 20:41
Cedric Moonen9-Jun-09 20:41 
RantRe: Find a string in another string? Pin
Rajesh R Subramanian9-Jun-09 21:55
professionalRajesh R Subramanian9-Jun-09 21:55 
QuestionHow to convert UINT64 to LARGE_INTGER.....???? Pin
krish_kumar9-Jun-09 20:16
krish_kumar9-Jun-09 20:16 
AnswerRe: How to convert UINT64 to LARGE_INTGER.....???? Pin
Cedric Moonen9-Jun-09 20:33
Cedric Moonen9-Jun-09 20:33 
GeneralRe: How to convert UINT64 to LARGE_INTGER.....???? Pin
Rajesh R Subramanian9-Jun-09 22:09
professionalRajesh R Subramanian9-Jun-09 22:09 
GeneralRe: How to convert UINT64 to LARGE_INTGER.....???? Pin
Cedric Moonen9-Jun-09 23:00
Cedric Moonen9-Jun-09 23:00 
JokeRe: How to convert UINT64 to LARGE_INTGER.....???? Pin
David Crow10-Jun-09 4:34
David Crow10-Jun-09 4:34 
QuestionDebug Assertion Failed! Pin
MsmVc9-Jun-09 19:58
MsmVc9-Jun-09 19:58 
Hi All

I am getting Debug Assertion failed.Message is here
Program: ...
File:f:\sp\vctools\vc7libs\ship\atlmfc\include\atlsimpstr.h
Line: 876

Expression: nLength >= 0

and in the atlsimpstr.h file:

void SetLength( __in int nLength )
{
ATLASSERT( nLength >= 0 ); // Line 876
ATLASSERT( nLength <= GetData()->nAllocLength );

if( nLength < 0 || nLength > GetData()->nAllocLength)
AtlThrow(E_INVALIDARG);

GetData()->nDataLength = nLength;
m_pszData[nLength] = 0;
}

I could not figure out what the problem was from this output.
AnswerRe: Debug Assertion Failed! Pin
Cedric Moonen9-Jun-09 20:06
Cedric Moonen9-Jun-09 20:06 
GeneralRe: Debug Assertion Failed! Pin
MsmVc9-Jun-09 20:21
MsmVc9-Jun-09 20:21 
GeneralRe: Debug Assertion Failed! Pin
Cedric Moonen9-Jun-09 20:31
Cedric Moonen9-Jun-09 20:31 
GeneralRe: Debug Assertion Failed! Pin
Chandrasekharan P9-Jun-09 20:34
Chandrasekharan P9-Jun-09 20:34 
GeneralRe: Debug Assertion Failed! Pin
chirag_chauhan9-Jun-09 20:36
chirag_chauhan9-Jun-09 20:36 
GeneralRe: Debug Assertion Failed! Pin
Rajesh R Subramanian9-Jun-09 22:34
professionalRajesh R Subramanian9-Jun-09 22:34 
Questioncompiler error Pin
ali kanju9-Jun-09 18:58
ali kanju9-Jun-09 18:58 
AnswerRe: compiler error Pin
Chandrasekharan P9-Jun-09 19:16
Chandrasekharan P9-Jun-09 19:16 
GeneralRe: compiler error Pin
ali kanju9-Jun-09 19:39
ali kanju9-Jun-09 19:39 
GeneralRe: compiler error Pin
Chandrasekharan P9-Jun-09 19:48
Chandrasekharan P9-Jun-09 19:48 
GeneralRe: compiler error Pin
ali kanju9-Jun-09 20:16
ali kanju9-Jun-09 20:16 
Questionfree and delete[] Pin
hawk23reddy9-Jun-09 17:28
hawk23reddy9-Jun-09 17:28 
AnswerRe: free and delete[] Pin
«_Superman_»9-Jun-09 17:55
professional«_Superman_»9-Jun-09 17:55 
GeneralRe: free and delete[] Pin
N a v a n e e t h9-Jun-09 18:02
N a v a n e e t h9-Jun-09 18:02 
GeneralRe: free and delete[] Pin
«_Superman_»9-Jun-09 18:05
professional«_Superman_»9-Jun-09 18:05 
GeneralRe: free and delete[] Pin
Stuart Dootson9-Jun-09 22:37
professionalStuart Dootson9-Jun-09 22:37 
GeneralRe: free and delete[] Pin
N a v a n e e t h10-Jun-09 0:01
N a v a n e e t h10-Jun-09 0:01 

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.