Ok I saw I had this:
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
lcltype;
type
that should have been this:
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
lcltype;
type
[/code]
the lcltype works now, but now it asks this:
Compile Project, Target: project1.exe: Exit code 1, Errors: 9
unit1.pas(44,14) Error: Identifier not found "FindWindow"
unit1.pas(45,11) Error: Identifier not found "FindWindowEx"
unit1.pas(45,33) Error: Identifier not found "FindWindow"
unit1.pas(47,3) Error: Identifier not found "SendMessage"
unit1.pas(47,21) Error: Identifier not found "WM_CHAR"
unit1.pas(48,3) Error: Identifier not found "SendMessage"
unit1.pas(48,21) Error: Identifier not found "WM_CHAR"
unit1.pas(49,3) Error: Identifier not found "SendMessage"
unit1.pas(49,21) Error: Identifier not found "WM_CHAR"