Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Function has no return address

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

618 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