Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

C Bulder ver 1 component problem

Posted on 1999-06-23
3
Medium Priority
?
169 Views
Last Modified: 2010-05-18
I am writing my first component in C Builder Ver1 in which i have written number of functions(of a class) and they were working fine.Then i added two more functions in the public section of the component class declaration and reinstalled the component and the component installed fine.But  when i use the two new functions in an application  i am getting the following error
Linker error Unresolved external (name of the function etc etc )

The funny part is I have checked the functions thoroughly and there is absolutely no typo errors at all.Is there a limit as to the number of public functions that can be added to a component class declaration or is there any thing else which i ought to know?
thanks
venks
0
Comment
Question by:venks
[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
3 Comments
 
LVL 3

Accepted Solution

by:
Laminamia063099 earned 100 total points
ID: 1198281
This most probably means that your function declaration is fine in your *.h file, but the definition in your source file (.cpp) isn't exactly the same.  After checking that, if it doesn't fix the problem, make sure that you have added the *.cpp to your project.  (Look under view->project manager to see if the .cpp file is added to your project.)
0
 
LVL 1

Author Comment

by:venks
ID: 1198282
Dear : Laminamia
Thanks
venks
0
 
LVL 3

Expert Comment

by:Laminamia063099
ID: 1198283
Anytime! :)

Laminamia
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

670 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