Delphi 7调用C#写的Web Service,在delphi调试环境下运行调用正常,但delphi生成的程序来调用就报错误,哪位有知道解决方法吗?
HELP,!!!
HELP,!!!
解决方案 »
- 在系统退出时 报ntdll.dll 错误
- 关于拦截系统声音的难题!
- 急!打印格式问题
- 用dbexpress组件连接数据库,怎样用代码设置SQLConnection?高手指点!
- 怎样在Delphi5中添加QRTee和QuickRPT这两个组件?(高分酬谢)
- [郁闷] 今天公司周末打扫卫生,把天花板一个排气扇拆坏了
- Delphi中处理PDF问题,哪位大师帮帮忙!!!!!!!!!
- 快速检索Delphi设计资料的工具软件
- 如何快速的将pchar中的部分内容赋给一个memo
- 哪有李维的delphi 5.x ado/mts/com+ 的pdf的书下? 急用
- delphi登录界面权限问题,急!在线等
- 大家数据库安全怎么做的
打开生成的EXE程序来运行调用就出现错误了
何解?都是在本机上的呢
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, InvokeRegistry, Rio, SOAPHTTPClient;type
TForm1 = class(TForm)
Label1: TLabel;
eID: TEdit;
btApply: TButton;
lbResult: TLabel;
HTTPRIO1: THTTPRIO;
procedure btApplyClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;var
Form1: TForm1;implementation{$R *.dfm}uses Service;procedure TForm1.btApplyClick(Sender: TObject);
begin
if Trim(eID.Text) = '' then
begin
Application.MessageBox(PChar('ID不能为空!'),PChar('警告'),MB_OK + MB_ICONWARNING);
Exit;
end;
try
StrToInt(eid.Text);
except
Application.MessageBox(PChar('ID不合法!'),PChar('错误'),MB_OK + MB_ICONERROR);
Exit;
end;
try
lbResult.Caption := (HTTPRIO1 as ServiceSoap).WebUpdate(eid.Text);
except on e: Exception do
lbResult.Caption := 'Web Service Error!' + #13 + e.Message;
end;
end;end.
报错信息:
Access violation at address 00c65e59. write of address 00c65e59.