?
Solved

Assert error on strcore.cpp

Posted on 2000-03-02
2
Medium Priority
?
1,327 Views
Last Modified: 2013-11-20
When I was try connect with socket, Visual C++ SP6 giving
assertion error.
What is the solution?

Debug Assertion Failed!
Program:D:.................\BULKMAIL.EXE
File:strcore.cpp
Line:154

Abort Retry Ignore



sometimes
Line:53
0
Comment
Question by:cangodel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
gelbert earned 300 total points
ID: 2577762
Is it possible that somewhere before place where you allocated memory for CString you have an object which memory was overwritten past allocated size and corrupted CString memory? In that case when Cstring is get destroyed or it value reassinged it crashes when attemps to release memory

Example
char pTest0 = "AAAAAAAAAA";
char* pTest1 = new char[4];
CString* pTest2 = new CString()
strcpy( pTest1, pTest0 );
delete pTest2;
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 2578972
MFC has detected that you are writing a bulk mailing program and has stoped you from genreating more spam :-)

Actually, you must have been stuffing about with CString internals.

Without seeing the code it is almost impossible to know when this happened.  Also, setting a breakpoint won't help, as the damage has already been done.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month9 days, 1 hour left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question