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 Rhinorhino 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
Joined
Apr 9, 2001
Messages
233
Location
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.
 
I have to remark that data2 is a __POINTER___
 
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.

Similar threads

Replies
1
Views
851
Replies
0
Views
274
Replies
1
Views
294
Replies
2
Views
307

Part and Inventory Search

Sponsor

Back
Top