Solved

Function has no return address

Posted on 1997-08-20
1
421 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
[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
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

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

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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

738 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