求救:请问这个错误怎么解决:[Error]:Invalid compiler directive: 'EXTERNAL'

                            
谢谢大侠,帮帮我,总是出现这个错误!代码如下:   
  program   Main;  
   
  {$APPTYPE   CONSOLE}  
   
  uses  
      Windows,Messages,   SysUtils,   Variants,   Graphics,   Controls,        
      Forms,Classes,Dialogs,   ExtCtrls,   StdCtrls,   Buttons;  
   
  var  
      hHook:   integer;  
   
      function   Sendmessage:bool;external   'user32.dll';  
   
  begin  
  end.  
 

查看回复