<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Länderliste auslesen]]></title><description><![CDATA[<p>Wie kann man die Länderliste eines deutschen Windows XP auslesen?<br />
Bevorzugte Sprache wäre C++!</p>
<p>Soweit ich weiß, liefert bzw. benutzt <em>setlocal</em> nur die englischen Länderbezeichnungen. Da aber das zu erstellende Programm komplett in Deutsch sein soll, suche ich nun nach einer oben beschriebenen Funktion.</p>
<p>Google liefert mit &quot;Länderliste in C++&quot; leider keine brauchbaren Ergenisse.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/110070/länderliste-auslesen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 30 Jun 2026 22:11:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/110070.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 May 2005 09:34:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Länderliste auslesen on Tue, 17 May 2005 09:34:10 GMT]]></title><description><![CDATA[<p>Wie kann man die Länderliste eines deutschen Windows XP auslesen?<br />
Bevorzugte Sprache wäre C++!</p>
<p>Soweit ich weiß, liefert bzw. benutzt <em>setlocal</em> nur die englischen Länderbezeichnungen. Da aber das zu erstellende Programm komplett in Deutsch sein soll, suche ich nun nach einer oben beschriebenen Funktion.</p>
<p>Google liefert mit &quot;Länderliste in C++&quot; leider keine brauchbaren Ergenisse.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/789970</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/789970</guid><dc:creator><![CDATA[Blackshadowwarrior]]></dc:creator><pubDate>Tue, 17 May 2005 09:34:10 GMT</pubDate></item><item><title><![CDATA[Reply to Länderliste auslesen on Tue, 17 May 2005 11:37:31 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=1819" rel="nofollow">kingruedi</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=8" rel="nofollow">Rund um die Programmierung</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/790067</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/790067</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 17 May 2005 11:37:31 GMT</pubDate></item><item><title><![CDATA[Reply to Länderliste auslesen on Tue, 17 May 2005 12:03:12 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/nls_8p83.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/nls_8p83.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/790092</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/790092</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Tue, 17 May 2005 12:03:12 GMT</pubDate></item><item><title><![CDATA[Reply to Länderliste auslesen on Tue, 17 May 2005 13:17:11 GMT]]></title><description><![CDATA[<p>Mein Englisch ist nicht so sehr gut!</p>
<p>Wenn ich den Text auf der Seite richtig verstanden habe, müsste mir <em>EnumUILanguages</em> eine Liste der Länder liefern, oder nicht?</p>
<p>Gibt es vielleicht irgendwo Beispielcode dazu?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/790119</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/790119</guid><dc:creator><![CDATA[Blackshadowwarrior]]></dc:creator><pubDate>Tue, 17 May 2005 13:17:11 GMT</pubDate></item><item><title><![CDATA[Reply to Länderliste auslesen on Thu, 19 May 2005 11:43:20 GMT]]></title><description><![CDATA[<p>Problem gelöst <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/26a0.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--warning"
      title=":warning:"
      alt="⚠"
    /></p>
<pre><code class="language-cpp">#include &lt;windows.h&gt; 
#include &lt;iostream&gt; 
#include &lt;tchar.h&gt; 

BOOL CALLBACK EnumLocalesProc (LPTSTR lpLocaleString) 
{ 
    TCHAR pszEnglishCountryName[128] = {0}, pszLocalCountryName[128] = {0}; 

    LCID localeID = 0; 
    _stscanf( lpLocaleString, &quot;%x&quot;, &amp;localeID ); 

    if (GetLocaleInfo(localeID,LOCALE_SENGCOUNTRY,pszEnglishCountryName,sizeof(pszEnglishCountryName))) 
    { 
     GetLocaleInfo ( localeID, LOCALE_SCOUNTRY, pszLocalCountryName, sizeof(pszLocalCountryName)); 

     // Write it to the screen 
     std::cout &lt;&lt; &quot;English: &quot;&lt;&lt; pszEnglishCountryName &lt;&lt; &quot; | Local: &quot;&lt;&lt; pszLocalCountryName &lt;&lt; std::endl; 
    } 

    return TRUE; 
  }; 

int main(void) 
{ 
      EnumSystemLocales (EnumLocalesProc, LCID_INSTALLED); 

      return 0; 
}
</code></pre>
<p>Diese Lösung habe ich in einem anderem Forum erhalten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/791354</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/791354</guid><dc:creator><![CDATA[Blackshadowwarrior]]></dc:creator><pubDate>Thu, 19 May 2005 11:43:20 GMT</pubDate></item></channel></rss>