Trouble with THTML file GDIPL2A.pas

Posted by vas on Stack Overflow See other posts from Stack Overflow or by vas
Published on 2009-08-14T20:08:26Z Indexed on 2010/06/05 6:02 UTC
Read the original article Hit count: 140

Filed under:

Running a project and was getting an error saying
"Not enough actual parameters" The error is in "C:\Program Files\PBear\HTMLComponents\package\GDIPL2A.pas". The mistake pointed three times to "inherited Create;" lines 260,270 and 278 . In the file "GDIPL2A.pas".the Code is:-

var
  err: integer;
begin
inherited Create;
err := GdipCreateBitmapFromScan0(W, H, 0, PixelFormat32bppARGB, nil, fHandle);
if err <> 0 then
  raise EGDIPlus.Create('Can''t create bitmap');
end;

I was wondering why it would show an error in "THTML" files, WHICH ARE NOTHING BUT FILES FROM THE INSTALLATION of THTML.I did not even touch THTML files.

Kindly help

Thanks and Regards

Vas

© Stack Overflow or respective owner

Related posts about delphi