Delphi Incompatible Types
Posted on 2009-04-29
I am trying to use an old unit (xbase.pas) that I have not used in years. Any function I try to use gives me the following error...
Incompatible types: 'HWND' and 'String'
The function in xbase.pas is... function space(Space_Count: integer) : string;
I am naming a variable 'poo:string' in button procedure. I can assign a value to poo with space() no problem. But when I try to use the value, I get the 'Incompatible types: 'HWND' and 'String'' error message.
Can anyone help me?