AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Suchfunktion Ergebnis der Suchanfrage

Ergebnis der Suchanfrage


Datum des Suchindex: Heute, 16:32

Parameter dieser Suchanfrage:

Suche in Thema: Set hostname - can't write to registry
Suche alle Beiträge, die von "jaenicke" geschrieben wurden
• Suchmethode: "Suche nach allen Begriffen"
• Nach Datum (firstpost) sortiert
• Zeige Treffer als Beiträge
Zeige 2 von insges. 2 Treffern
Suche benötigte 0.006s

Es liegen Ergebnisse in folgenden Bereichen vor:

  • Forum: Object-Pascal / Delphi-Language

    AW: Re: Set hostname - can't write to registry

      Delphi
      by jaenicke, 7. Apr 2012
    For me it seems as if you look at the wrong position. Following the documentation only the NETBIOS name is changed by this function. This is not what you see in the system settings. :zwinker:

    So you will have to follow the hint in the documentation:I guess you meant what SetComputerNameEx does. ;-)
  • Forum: Object-Pascal / Delphi-Language

    AW: Set hostname - can't write to registry

      Delphi
      by jaenicke, 6. Apr 2012
    You have to ensure, that no other API function is called after the one you want to check against errors. Otherwise the error state is overwritten before you check it...
    But here you call ShowMessage for the result of SetComputerName and fetch the error after this. So you won't get an error unless ShowMessage fails...
    What about this way?if SetComputerName('TTX') then
    ShowMessage('Success')...


URL zu dieser Suchanfrage:

https://www.delphipraxis.net/dp_search.php?do=usersearch&search_username=jaenicke&search_exact_username=1&search_sortby=dateline&search_resulttype=post&search_matchmode=0&searchthreadid=167564
Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:48 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