Headers ans BCB6

General TRichView support forum. Please post your questions here
Post Reply
Benoit B.

Headers ans BCB6

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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?
Benoit B.

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

TRVColorMode type is defined in the Rvstyle unit.
Probably the problem is again with the headers.
Benoit B.

Post by Benoit B. »

I reinstalled BCB and that functions.

Thank you for your assistance.
Post Reply