Solved

Function has no return address

Posted on 1997-08-20
1
412 Views
Last Modified: 2013-12-03
A member function "recalculate()" of my class "Calc" CANNOT RETURN to where it was called (another function within Calc called recalculate()).  During a normal execution, I get the message, "This program has performed an illegal operation and will be shut down."  During a step by step trace, I find there is an Access Violation at the end of recalculate(), and "the current function has no return address".  What is going on?

NOTE: At the beginning of a "run to breakpoint" the computer tells me of many "no matching symbolic information found" problems with .DLL files.  Also, there is "no shared menu for document template #130."

0
Comment
Question by:Mark Ebden
1 Comment
 
LVL 3

Accepted Solution

by:
vinniew earned 50 total points
ID: 1404525
You don't have debug information in your .dll files.  If you are using VC++, you need to rebuild each project using debug information (and browse, too, if you like) and then try again.  I find that it sometimes helps to rename the release versions to prevent the files from being confused too.

Another thing- if it cannot return to where it was called, it sounds like you have a syntax error, but you'd have to post the code for me to be sure.  Make sure that the calc:: is in front of all the functions.  Otherwise, the name mangling will prevent the code from knowing where to go.

No matter what, post more code and I can tell for sure.

V

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now