Page 1 of 1

Headers ans BCB6

Posted: Tue Aug 30, 2005 10:24 am
by Benoit B.
Hello,

I've got a problem with header and BCB6
I've install BCB6 components, but RVPrint->SetHeader is unknown.

Is this normal?

Posted: Tue Aug 30, 2005 11:35 am
by Sergey Tkachenko
No, it's not normal, SetHeader() is a public method of TRVPrint, and it must be in PtblRV.hpp.
I checked the header included in the trial version, it's there:
void __fastcall SetHeader(Crvfdata::TCustomRVFormattedData* RVData);

May be you have duplicated HPP files (HPP files of older version of TRichView in different directory), and C++Builder use them to compile applications?

Posted: Tue Aug 30, 2005 12:55 pm
by Benoit B.
Indeed, the error came from there.

However, I have an error in PtblRV.hpp:
[ C++ Error ] PtblRV.hpp(127):
E2316 ' TRVColorMode' is not a member of ' Rvstyle'

How to make?

Posted: Tue Aug 30, 2005 1:05 pm
by Sergey Tkachenko
TRVColorMode type is defined in the Rvstyle unit.
Probably the problem is again with the headers.

Posted: Wed Aug 31, 2005 7:02 am
by Benoit B.
I reinstalled BCB and that functions.

Thank you for your assistance.