Solved

Linker Error - Table Limit Exceeded

Posted on 1998-01-10
2
566 Views
Last Modified: 2013-12-26
null
0
Comment
Question by:keith_mc
[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
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 total points
ID: 1299535
The problem is when you export a class, then all of its member functions are exported. The best thing to do is not to export an entire class, but to export the member functions directly. However, sometimes this won't work because if the base class has been exported, then your derived class has to be exported too. Which version of the compiler are you using? If you are using either BC++ 4.5 or BC++ 5.x, then your program size is extremely large before getting this problem.
0
 

Author Comment

by:keith_mc
ID: 1299536
Well, um, I'm still using 3.1.  I've got 4.?, I just haven't made the move yet.  With a little testing, I found that the _CLASSDEF macro that is used to typedef pointers to a class was also exporting the class.  I removed this macro from each of my classes and added "typedef classname _FAR * pclassname" and the export problem was solved.  Thanks for the help.  Your suggestions are valid.  However, it doesn't seem to be true that the derived classes are exported if their base class is.  This may have something to do with the older version.  (If so, I like it).
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
error email attachment VB2010 5 56
selectSingleNode in Access 2013 11 78
Where do I learn ES6? 3 84
Grunt script for Build Process 1 87
When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

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