本帖最后由 yz1675052 于 2011-05-26 01:34:45 编辑

解决方案 »

  1.   

    还是不对呢!!uses
      SysUtils;
      Windows;我已经引用了,结果又出现
    [Error] jingyin.pas(8): Declaration expected but identifier 'Windows' found
    Undeclared identifier:'LoadLibrary'
    Undeclared identifier:'GetProcAddress'
    Undeclared identifier:'FreeLibrary
    Undeclared identifier: 'PAGE_EXECUTE_READWRITE'
      

  2.   

    uses
      SysUtils,Windows;我已经引用了,结果又出现
    Undeclared identifier:'LoadLibrary'
    Undeclared identifier:'GetProcAddress'
    Undeclared identifier:'FreeLibrary'
    还是这个错误
      

  3.   

    就是这个Windows单元下你可以去看看这些函数原型
    Windows.LoadLibrary
    Windows.GetProcAddress
    Windows.FreeLibrary
      

  4.   

    肯定是没有引用Windows单元文件。