 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Anthony Parise Guest
|
Posted: Sun Aug 17, 2003 11:24 pm Post subject: Unresolved External in Component |
|
|
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
|
Posted: Mon Aug 18, 2003 7:19 am Post subject: Re: Unresolved External in Component |
|
|
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 |
|
 |
|
|
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
|
|