Board index » cppbuilder » __property Not an allowed type (AsyncPro)
Mark
![]() CBuilder Developer |
__property Not an allowed type (AsyncPro)2006-08-26 12:45:09 AM cppbuilder11 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 |