BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unresolved External in Component

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
Anthony Parise
Guest





PostPosted: Sun Aug 17, 2003 11:24 pm    Post subject: Unresolved External in Component Reply with quote



I am using C++Buiilder 4 and have created a component:

class PACKAGE TShareWareReg : public TComponent
{
private:
...
AnsiString __fastcall FGetRegName( );
AnsiString __fastcall FGetRegCall( );
...
public:
__property AnsiString RegName={read=FGetRegName,nodefault};
__property AnsiString RegCall={read=FGetRegCall,nodefault};
....
};

All aspects of the component seem to work fine, with the exception of
when I try to acctess RegName or RegCall. Then for instance with
RegName, I get a linker error:

Unresolved External '__fastcall TShareWareReg::FGetRegName()' referenced
from C:....

Does anyone have a suggestion of what I am doing wrong/not doing?

A. Parise


Back to top
Anthony Parise
Guest





PostPosted: Mon Aug 18, 2003 7:19 am    Post subject: Re: Unresolved External in Component Reply with quote



Problem below, solved. It had to do with paths.

A. Parise

Anthony Parise wrote:

Quote:
I am using C++Buiilder 4 and have created a component:

class PACKAGE TShareWareReg : public TComponent
{
private:
...
AnsiString __fastcall FGetRegName( );
AnsiString __fastcall FGetRegCall( );
...
public:
__property AnsiString RegName={read=FGetRegName,nodefault};
__property AnsiString RegCall={read=FGetRegCall,nodefault};
...
};

All aspects of the component seem to work fine, with the exception of
when I try to acctess RegName or RegCall. Then for instance with
RegName, I get a linker error:

Unresolved External '__fastcall TShareWareReg::FGetRegName()'
referenced from C:....

Does anyone have a suggestion of what I am doing wrong/not doing?

A. Parise




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.