Solved

Assert error on strcore.cpp

Posted on 2000-03-02
2
1,299 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
2 Comments
 
LVL 8

Accepted Solution

by:
gelbert earned 100 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand LInux Boot partition remotly 3 96
Expand data scrubbing tool 13 35
Best tools for Backup and restore of Wordpress site 6 57
Problem to App 4 97
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

808 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