Advertisement

06.26.2004 at 01:31PM PDT, ID: 21039204
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Assertion Failure with dbgheap.c

Tags: assertion
Hi,

I encountered the 'Debug Assertion Failed!' when trying to build a project with Microsoft Visual C++ 6.0.

It happens when I use std::string and try to print the string out.  It says:

Program : temp.exe
File: dbgheap.c
Line: 1011
Expression: _CrtIsValidHeapPointer(pUserData)

Some things you might want to know about my program before I ask my question.  My program builds by running a main application and importing a couple of .lib files that I have created.  During the creation of those library files, I did get a "warning C4251" that said that the string class needs and external dll interface.

Is this what's wrong?  But here is something else I found out:

My Run-Time Libraries are as follows:
In Win32 Debug
--Application (which is a Win32 Console Application) --> Debug Single Threaded
--Plugin1 (which is a Dynamic Link Library) --> Debug Multithreaded
--Plugin2 (which is a Dynamic Link Library) --> Debug Multithreaded

In Win32 Release
--Application (which is a Win32 Console Application) --> Single Threaded
--Plugin1 (which is a Dynamic Link Library) --> Multithreaded
--Plugin2 (which is a Dynamic Link Library) --> Multithreaded

From the research I've done is that this assertion error occurs when there are 2
different C Runtime libraries being used. Is there a way to work round
this? Like is there a way to specify the correct libraries to be used?
Or any other solutions? or do I need to correct that C4251 warning.

Thanks.
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: dredg
Solution Provided By: davebytes
Participating Experts: 1
Solution Grade: A
Views: 118
Translate:
Loading Advertisement...
06.26.2004 at 09:49PM PDT, ID: 11408602

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.02.2004 at 12:40PM PDT, ID: 11459516

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.02.2004 at 01:04PM PDT, ID: 11459699

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.03.2004 at 12:41PM PDT, ID: 11464707

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.06.2004 at 08:15AM PDT, ID: 11481929

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.06.2004 at 08:34AM PDT, ID: 11482195

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.06.2004 at 01:56PM PDT, ID: 11485853

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.07.2004 at 08:42AM PDT, ID: 11493015

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.07.2004 at 02:31PM PDT, ID: 11496777

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.07.2004 at 02:56PM PDT, ID: 11496988

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.08.2004 at 12:31PM PDT, ID: 11505804

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.09.2004 at 02:37PM PDT, ID: 11516208

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.09.2004 at 10:03PM PDT, ID: 11517385

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
07.14.2004 at 02:37PM PDT, ID: 11554022

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29