Headers ans BCB6

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

Headers ans BCB6

Post by Benoit B. » Tue Aug 30, 2005 10:24 am

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: 14752
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Tue Aug 30, 2005 11:35 am

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. » Tue Aug 30, 2005 12:55 pm

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: 14752
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Tue Aug 30, 2005 1:05 pm

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

Benoit B.

Post by Benoit B. » Wed Aug 31, 2005 7:02 am

I reinstalled BCB and that functions.

Thank you for your assistance.

Post Reply