请问动态库LanzGateway.dll中的一个函数:
function Login(ProductID:String;UserID:String;Account:String;Password:String):boolean; stdcall; external 'LanzGateway.dll';
这样调应出错说‘无法定位程序输入点Login动态链接库lanzgatewary.dll中  if Login(trim(edt_productid.Text ),trim(edt_userid.Text ),trim(edt_account.Text ),trim(edt_password.Text )) =true then
  begin
    Application.messagebox('登录成功!', '警告', 16);
    exit;
  end
  else
  begin
    Application.messagebox('登录失败!', '警告', 16);
    exit;
  end;
请问还有别的方法没有

解决方案 »

  1.   

    下面是动态库LanzGateway.dll中的函数:
    Login (ProductID As String, UserID As String, Account As String, Password As String) As Long
    说明:
         登录函数,所有操作前需要登录到服务器。
    输入参数:
    ProductID:产品编号
    UserID:用户ID
    Account:帐号
        Password:密码
    返回值:
           0:登录成功
          -1:登录失败
      

  2.   

    Login (ProductID As String, UserID As String, Account As String, Password As String) As Long;stdcall;//加上这个试试;
      

  3.   

    下面是动态库LanzGateway.dll中的函数:
    Login (ProductID As String, UserID As String, Account As String,
      Password As String) As Long
    说明:
    登录函数,所有操作前需要登录到服务器。
    输入参数:
    ProductID:产品编号
    UserID:用户ID
    Account:帐号
    Password:密码
    返回值:
    0:登录成功
    -1:登录失败function Login(ProductID:String;UserID:String;Account:String;
    Password:String):integer; stdcall; external 'LanzGateway.dll';
    //---函数返回类型是整型值吧?