Error Installing rvhtmlimport / SRV controls Delphi 7

General TRichView support forum. Please post your questions here
Post Reply
db007
Posts: 2
Joined: Tue Sep 20, 2011 9:59 am

Error Installing rvhtmlimport / SRV controls Delphi 7

Post by db007 »

I have tried to install rvhtmlimport and am getting the following error.

[Error] rvhtmlimport.pas(2300): Types of actual and formal var parameters must be identical
[Error] rvhtmlimport.pas(2310): Incompatible types: 'String' and 'Integer'
[Error] rvhtmlimport.pas(2312): Incompatible types: 'String' and 'Integer'
[Error] rvhtmlimport.pas(2323): Incompatible types: 'String' and 'Integer'
[Error] rvhtmlimport.pas(3085): Types of actual and formal var parameters must be identical
[Error] rvhtmlimport.pas(3089): Incompatible types: 'String' and 'Integer'
[Error] rvhtmlimport.pas(3158): Incompatible types: 'String' and 'Integer'
[Fatal Error] rvhtmld7.dpk(36): Could not compile used unit 'rvhtmlimport.pas'

i have download the latest version of rvhtmlimport and also tried v034 incase that made any difference which it didn't.

Also when trying to install SRVControls I receive the following:

[Error] DShow.pas(2953): Undeclared identifier: 'LONG_PTR'
[Warning] DShow.pas(10257): Symbol 'AllocateHWnd' is deprecated
[Warning] DShow.pas(10267): Symbol 'DeallocateHWnd' is deprecated
[Hint] DShow.pas(7647): Private symbol 'SelectedFilter' declared but never used
[Hint] DShow.pas(7648): Private symbol 'CreatedFilter' declared but never used
[Hint] DShow.pas(7651): Private symbol 'UnableToRender' declared but never used
[Hint] DShow.pas(8216): Private symbol 'GetFilter' declared but never used
[Hint] DShow.pas(8217): Private symbol 'GetName' declared but never used
[Hint] DShow.pas(8218): Private symbol 'NotifyFilter' declared but never used
[Hint] DShow.pas(8220): Private symbol 'SampleCB' declared but never used
[Hint] DShow.pas(8221): Private symbol 'BufferCB' declared but never used
[Hint] DShow.pas(8299): Private symbol 'GetFilter' declared but never used
[Hint] DShow.pas(8300): Private symbol 'GetName' declared but never used
[Hint] DShow.pas(8301): Private symbol 'NotifyFilter' declared but never used
[Fatal Error] SRVMediaPlayer.pas(7): Could not compile used unit 'DShow.pas'
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

It looks like you try to compile new version of TRichView with old version of rvhtmlimport.
In the latest trichview version, items tags were changed from Integer to String. It requires changes in additional components, including rvHtmlImporter. Updated versions of additional components are available in new location. Specifically, for rvhtmlimport: http://www.trichview.com/resources/html ... mportb.zip
You can find more information in the protected "Announcements" groups. I opened protected forums for your account.
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

As for SRVControls, it's out bug in the latest release.
Open DShow.pas, add

Code: Select all

type
  LONG_PTR = Integer;
in the beginning of the interface section of this file.
db007
Posts: 2
Joined: Tue Sep 20, 2011 9:59 am

Post by db007 »

Thanks - both worked
Post Reply