Procedure AddURL(URL,Info : String); begin Application.MessageBox(pchar(Info),pchar(URL),MB_OK); end;
改了可还是出问题 不管怎么改错误总是提示: pnetsamp.pas[25]:undeclared identifier:'application' pnetsamp.pas[25]:missing operator or semicolon pnetsamp.pas[25]:undeclared identifier:'MB_OK' netsamp.dpr[6]:could not comlile used unit 'pnetsamp.pas'
begin
Application.MessageBox(pchar(Info),pchar(URL),MB_OK);
end;
不管怎么改错误总是提示:
pnetsamp.pas[25]:undeclared identifier:'application'
pnetsamp.pas[25]:missing operator or semicolon
pnetsamp.pas[25]:undeclared identifier:'MB_OK'
netsamp.dpr[6]:could not comlile used unit 'pnetsamp.pas'