473,378 Members | 1,436 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Heap corruption in .Net 2003 expression evaluator Add-In

I created a dll to evaluate a home-grown data type.

I added an entry in the autoexp.dat pointing to my dll for the data type.

When I try to debug it (_Debug compile), I have the expression evaluator dll
in one instance of DevStudio .Net 2003 and the program using the new data
type in another instance.

I have a breakpoint in two places: the expression evaluator line 1, and
another in the program that uses the data type.

I use Debug->Attach Process and select devenv.exe (the other instance)

I run the attached DevStudio, then hit the break point, which causes the 2nd
break point in the add-in expression evaluator to trigger at the first line
in the expression evaluation function. When I hit "step" I get an invalid
heap assertion and the debugger crashes. Repeat as necessary.

What am I doing wrong?
--
J.
Jul 21 '05 #1
0 1051

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Hyden Zeng | last post by:
Hi everyone, I am optimizing an XPath query evaluator. currently, need to convert the DOM based one into a SAX based one. Anyone come across such an xpath evaluator before? Thank you. Hyden
3
by: JasonRMerrill | last post by:
I've got a system that's been corrupting repeatedly recently and I'm having trouble tracking down the cause. I've done as much reading as I can so far, but am starting to get lost as most of the...
26
by: jamesbeswick | last post by:
I've been using Access since version 97 and I've migrated to 2003. I've noticed a substantial number of strange ActiveX/OLE and code corruption problems when writing databases. The only solution...
2
by: Ray Martin | last post by:
I have created a custom datagridcolumn, and would like to color the cell based on criteria passed as a parm when the column is created. I would like this to be generic so I want to do something...
8
by: Daniel R. Rossnagel | last post by:
Sample: String c="1+2+3" since it can makes to obtain the value of this Expression? Other Sample: Int X=4 String c="1+2+3+X "
0
by: palani12kumar | last post by:
I had some problem regarding creating an expression evaluator using C. i've have not got an clear idea about the "expression Evaluator". Can you please tell me, what's an expression evaluator? and...
15
by: Matt | last post by:
Hi There, Can anyone explain me the real advantages of (other than syntax) lambda expressions over anonymous delegates? advantage for one over the other. delegate int F(int a); F fLambda = a...
3
by: DaveJ | last post by:
Hi, This is quite a simple question (hopefully). If I create a vector (on any container) on the heap e.g. std::vector<std::string* m_VectorOfStrings = new vector<std::string>; I know that...
2
by: Barry Edmund Wright | last post by:
Hi All, I installed Office 2003 SP3 and ever since been experiencing database corruption. I normally close the database (compact and repair), do a backup and reopen the database and open a form,...
2
by: Workaholic | last post by:
Hi, I have an application which is reading a boolean expression from an external file into a string. The string will equal something like "1 = 1" or "0 = 1". I need to be able to evaluate the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.