?
Solved

Function has no return address

Posted on 1997-08-20
1
Medium Priority
?
425 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 100 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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 a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

864 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