if MyInterface.RCDE.GetEBID(EId,CY) then......
这段语句编译时出错:
[Error] Ur.pas(314): Not enough actual parameters这段程序是在一个bpl包里的,这个方法封装在一个DLL里(RCDE.DLL),GetEBID方法一开始有三个参数(EId,CY,C),后来我把它改成了两个参数(EId,CY),并且把文件Ur_TLB.pas中的参数也改成了两个。编译出上面的错误,而且打 '.'弹出的提示信息也还有三个参数。但如果新做一个窗体打 '.'弹出的是改过的两个参数。

解决方案 »

  1.   

    Not enough actual parameters,缺少参数,看看是否把所有引用的地方都改了,dll是否在正确的位置
      

  2.   

    光改.pas没用,package也要重新编译。
      

  3.   

    你本身这个单元,也就是要加载函数的这个单元里没有这个函数的声明?类似function ...stdcall; external...
      

  4.   

    Not enough actual parameters
    这个提示很清晰,你只要自己确认哪里定义的。
      

  5.   

    奇怪了,我的也报错误
    [错误] UEmailFrm_Edit_Del.pas(351): Not enough actual parameters
    [错误] UEmailFrm_Edit_Del.pas(351): Missing operator or semicolon
    [错误] UEmailFrm_Edit_Del.pas(352): Not enough actual parameters
    [错误] UEmailFrm_Edit_Del.pas(352): Missing operator or semicolon
    [错误] UEmailFrm_Edit_Del.pas(353): Not enough actual parameters
    [错误] UEmailFrm_Edit_Del.pas(353): Missing operator or semicolon
    [致命错误] QXGLForm.pas(79): Could not compile used