 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mark Guest
|
Posted: Fri Aug 25, 2006 9:45 pm Post subject: __property Not an allowed type (AsyncPro) |
|
|
I'm trying to get AsyncPro to work under BDS2006/C++. After several
hours I've managed to get the components installed ok but the new
compiler doesn't seem to like it's own generated hpp file - it's
throwing up "E2109 Not an allowed type" for untyped __property's e.g:
class DELPHICLASS TApdCustomComPort;
class PASCALIMPLEMENTATION TApdCustomComPort : public
Oomisc::TApdBaseComponent
{
....
protected:
__property Oomisc::TPassString TraceName = {read=FTraceName,
write=FTraceName};
....
}
class DELPHICLASS TApdComPort;
class PASCALIMPLEMENTATION TApdComPort : public TApdCustomComPort
{
....
__published:
__property TraceName ;
}
It seems this mechanism is used to publish a protected property. Is
this a problem with the TPassString template? Or a change in the way
that the untyped _property is handled?
TIA,
Mark |
|
| Back to top |
|
 |
patrick Guest
|
Posted: Tue Aug 29, 2006 1:31 pm Post subject: Re: __property Not an allowed type (AsyncPro) |
|
|
Mark wrote:
| Quote: | I'm trying to get AsyncPro to work under BDS2006/C++. After several
hours I've managed to get the components installed ok but the new
compiler doesn't seem to like it's own generated hpp file - it's
throwing up "E2109 Not an allowed type" for untyped __property's e.g:
|
I am basically having similar problem. I have Internet Component Suite
(ICS) and AsyncPro 4.07 added to BDS/C++. ICS works fine, but the
AsyncPro not. Problem is exactly the same as that "Not an allowed
type" you mentioned.
Hope anyone that have experience can kindly advise.
Many thanks,
Patrick |
|
| 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
|
|