![]() |
Re: StrToInt('2684354560') -> '2684354560' ist kein gülti
Entschuldigt bitte, aber als ich nach dem Posten des Beitrags gemerkt habe, weshalb diese Umwandlung nicht funktionieren kann war der Beitrag - zumindest für mich - überflüssig. Das meiste steht im Titel. Der Ursprüngliche Beitrag lässt sich nicht mehr editieren. Quellcode gibt es trotzdem noch ein Paar Zeilen (so dürfte es gestern in etwa ausgesehen haben):
Delphi-Quellcode:
Aber die quinta essentia war schon
function TCANCommunication.CheckIfAnswerAvailable(OutputString: string): Boolean;
var AnswerCommand, AnswerUserID, AnswerAddress, RequestCommand, RequestUserID, RequestAddress, ts: String; // Request = Output i, ti: Integer; begin csInputBuffer.Acquire; // to avoid multiple function calls (access violation) RequestCommand := IntToHex(HexStrToInt(Copy(OutputString, 10, 2)) + 1, 2); RequestUserID := // xxx 00000 xxx xxxxxxxxx xxxxxxxxx and 000 11111 000 000000000 00000 shr 21 IntToStr(StrToInt(x2y(16, 10, Copy(OutputString, 1, 8))) and 65011712 shr 21); // <- 1. Stelle, welche Probleme machen konnte RequestAddress := // xxx xxxxx xxx xxxxxxxxx 000000000 and 000 00000 000 000000000 111111111 IntToStr(StrToInt(x2y(16, 10, Copy(OutputString, 1, 8))) and 511); // <- hier nochmal
Delphi-Quellcode:
Grüsse
StrToInt('2684354560')
hirnstroem |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:39 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz