异常捕获

  showmessage('进入方法?这里是dll里LoginElecReq');
  try
  ShellExecute(Application.Handle, 'Open','prjGhMzPrePayPrint60.exe', PChar(pChargeSN), nil, SW_SHOWNORMAL);
  except
  on E:Exception do 
    showmessage(E.ClassName+':'+E.Message);
  end

猜你喜欢

转载自www.cnblogs.com/meitai/p/9186452.html