DELPHI XE7 on win7 32bit 代码:
procedure TForm1.IdMappedPortTCP1Execute(AContext: TIdContext);
begin
if (pos('CONNECT',AContext)<>0) or (pos('GET',AContext)<>0) or (pos('POST',AContext)<>0) or (pos('HEAD',AContext)<>0)
then
(....)
sleep(100);
end;
错误:
[dcc32 Error] Unit1.pas(49): E2250 There is no overloaded version of 'Pos' that can be called with these arguments
请帮助我如何修复该代码
提前致谢