Guten Abend,
welche
Indy Version nutzt Du denn.
Ich habe hier einen interessanten
Thread bzgl.
icmp rangecheck error gefunden.
Eventuell mal auf den
daily snapshot von
Indy 10 updaten.
.. und wenn das nichts hilft, dann kannst Du immer noch selber Hand an die
idStackBSDBase.pas legen.
Delphi-Quellcode:
function TIdStackBSDBase.NewSocketHandle(const ASocketType:TIdSocketType;
const AProtocol: TIdSocketProtocol;
const AIPVersion: TIdIPVersion = ID_DEFAULT_IP_VERSION;
const AOverlapped: Boolean = False): TIdStackSocketHandle;
begin
Result := CheckForSocketError(WSSocket(IdIPFamily[AIPVersion], ASocketType,
AProtocol, AOverlapped));
end;
und den range check ausschalten:
Zitat:
Type Switch
Syntax {$R+} or {$R-}
{$RANGECHECKS ON} or {$RANGECHECKS OFF}
Default {$R-}
{$RANGECHECKS OFF}
Scope Local
Remarks
The $R directive enables or disables the generation of range-checking code. In the {$R+} state, all array and string-indexing expressions are verified as being within the defined bounds, and all assignments to scalar and subrange variables are checked to be within range. If a range check fails, an ERangeError exception is raised (or the program is terminated if exception handling is not enabled).
Enabling range checking slows down your program and makes it somewhat larger, so use the {$R+} only for debugging.
Note: Long strings are not range checked.
Habe hier kein Win98, gab es damit schon Admin User?
Grüße
Klaus