[lazarus] INTERFACE is not compile

DMo2 madarzoo at o2.pl
Mon Sep 29 13:37:48 EDT 2003


I have problem with compile module INTERFACE
I've got message:

win32winapih.inc(52,10) Error: There is no method in an ancestor class to be
overridden: "TWin32Object.CreateDIBSection(HDC,const tagBITMAPINFO,
Longword,var Pointer, HANDLE, Longword):DWord"

I discover that is problem with Thandle

in WINDOWS.PP (base.inc) is:

  Thandle= HANDLE = type Cardinal;

in CLASSES (classesh.inc)
  THANDLE = longint;


I use FPC 1.1

In  FPC1.0 in WINDOWS was

   HANDLE = longint;    { or should it be cardinal ?? PM }

I don't know how to avoid this problem

Darek









More information about the Lazarus mailing list