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 

__property Not an allowed type (AsyncPro)

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





PostPosted: Fri Aug 25, 2006 9:45 pm    Post subject: __property Not an allowed type (AsyncPro) Reply with 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:

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





PostPosted: Tue Aug 29, 2006 1:31 pm    Post subject: Re: __property Not an allowed type (AsyncPro) Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL) 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.