Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debug Assertion Failed - VisualStudio SP5

Status
Not open for further replies.

cadbilbao

Programmer
Apr 9, 2001
233
ES
Hi!

Working with VC++6.0 (+Visual Studio SP5) on WinNT4.0 (+SP6b)

When I was working WITHOUT Visual Studio Service Pack 5:

+ If I inserted a lot of 'strcpy(data1, data2)', I compiled
without any problems, but I got the message "Debug Assertion
Failed - File dbgdel.cpp - Line 47" when executing.

+ If I only inserted one/two 'strcpy(data1, data2)', there
were no compilation problems and no execution problems.

When working WITH Visual Studio Service Pack 5:

+ I get ALWAYS the message "Debug Assertion Failed -
File dbgdel.cpp - Line 47" when executing.

Anybody could explain me what is happening? Which are the steps
to manage memory?

Why does this happen WHEN EXECUTING??

Thanks.
 
Can you post some simplified sample code that illustrates the problem? Don't forget to include the variable declarations.

Thanks.
Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top