I don't really understand this 'incompatible types' error (Delphi XE2)
function TWaveBase.GetHandle: THandle;
begin
if HandleNeeded then begin
if HandleAllocated then
CloseHandle;
CreateHandle(False);
end;
FHandleNeeded:=False;
Result:=FHandle;
end;
[...]
property Handle:Cardinal read GetHandle;
-> error here