Resending...
----- Original Message -----
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "Unmoderated discussion list about anything that resembles
Delphiprogramming." <[email protected]>
Sent: Monday, November 28, 2005 2:40 PM
Subject: Problem with BCB6 TFrame constructor
> Hello,
>
> I am asking here because I was not able to find an answer using Google. I
> have a TFrame that I added some code and controls today. I copied a TPanel
> from another application of mine but suddenly a problem started:
>
> In the constructor of the frame,
>
> __fastcall THttpServerFrame::THttpServerFrame(TComponent* Owner, String
> serverName) : TFrame(Owner) // constructor of THttpServerFrame
>
> before it executes code of mine, the flow passes to the constructor of the
> base class (TFrame) which is normal BUT in Forms.hpp'de,
>
> public:
> #pragma option push -w-inl
> /* TCustomFrame.Create */ inline __fastcall virtual
> TFrame(Classes::TComponent* AOwner) : TCustomFrame(AOwner) { } // here
> #pragma option pop
>
> it gives EReadError "Invalid Property Value" exception. I looked at the
> DFM text code and saw nothing wrong. I have multiple code directories with
> some code shared with the other project but that did not reveal any hint
> as well. Any idea what's wrong?
>
> Best Regards,
>
> SZ
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk