Jump to content

Michael II

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Michael II

    Async Ping in 9.4

    Hello Angus, Thank you very much for your super-fast response. Sorry for not thinking to check whether you had already fixed it. (Over the past few years, I’ve become a rather lazy Delphi > GetIt user...) I followed your tip, downloaded your latestOverByteICSPing.pas from SVN, and copied it into 9.4. It works! Thanks for all your work. Best regards, Michael
  2. Hello Angus, I have installed ICS 9.4 (Windows, Delphi 11), and now I am encountering a range check error in my project with "async ping." After some testing in OverbyteIcsIcmp.pas, I came across your note: "Note Async ping still does not work, not looked into it yet, use threaded ping instead." The range check error occurs inOverbyteIcsIcmp.pas in the following line: FSrcIPAddr := WSocketStrToIPv4(FSrcAddress, flag); Reason: If FSrcAddress = '', then WSocketStrToIPv4 sets the result to $ffffffff. The result type of WSocketStrToIPv4 is TIcsIPv4Address (found in OverbyteIcsTypes.pas): TIcsIPv4Address = LongWord; // V9.4 {x$IFDEF POSIX} Cardinal {.$ELSE} Integer {.$ENDIF}; However, FSrcIPAddr is of type LongInt.
  3. Michael II

    Delphi 2007/Win11 debugger

    Hello Angus thank you very much for your answer - and for all the great work you do. No, no suggestion about an alternative API - in #6 himitsu just explains why you didn't use the (unit winapi.winsock) gethostname function directly (reason: Minimum supported client Windows 8.1,). In #3 jaenicke explains how one can find the line of code that causes the debugoutputstring. This might be something for the microsoft feedback hub. (I am not sure if my inputs ever have been read by m$ - but if Angus from ICS would post... ;-)) Regards Michael
  4. Michael II

    Delphi 2007/Win11 debugger

    Same "Debug Output" on my new notebook (just installed Delphi., Corel and Microsoft Office, deinstalled McAfee). Delphi 11.2 - WIndows 11 22H2 Build 2623.730 - ICS 8-69 On my machine the debug output is caused by (OverbyteIcsWinsockImpl.Inc) function Ics_gethostname. Link to german DP: Delphi Debug-Ausgabe - Delphi-PRAXiS (delphipraxis.net) #5
×