Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Shouldnt this line be null terminated? HostEnt := gethostbyname(MarshaledASt… (https://www.delphipraxis.net/197446-shouldnt-line-null-terminated-hostent-%3D-gethostbyname-marshaledast%85.html)

DP News-Robot 7. Aug 2018 13:00

Shouldnt this line be null terminated? HostEnt := gethostbyname(MarshaledASt…
 
[WayBack]*Shouldnt this line be null terminated? HostEnt := gethostbyname(MarshaledAString(TEncoding.UTF8.GetB ytes(Name))); – G+ – Allen Drennan Yes it should, but I’m not sure if the compiler is fully to blame as GetBytes does not return a terminating zero byte. –jeroen

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:13 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz