<?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[[bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet]]></title><description><![CDATA[<p>Hallo,<br />
in einer Anwendung mit c++ builder XE7 nutze ich zum Anpingen von Rechnern im Netzwerk folgenden Code (siehe auch bytesandmore-Artikel <a href="http://www.bytesandmore.de/rad/cpp/snipp/sc08012.php" rel="nofollow">http://www.bytesandmore.de/rad/cpp/snipp/sc08012.php</a>), der bisher (bis vor XE7) fehlerfrei compiliert wurde:</p>
<pre><code>#include &lt;winsock.h&gt;
#include &lt;winsock2.h&gt;
#include &lt;iphlpapi.h&gt;
#include &lt;icmpapi.h&gt;
#pragma comment(lib, &quot;iphlpapi.lib&quot;)
#pragma comment(lib, &quot;ws2_32.lib&quot;)
...

int PingHost(String slAddress, TStrings* pStrings)
{
  // Stringsliste leeren:
  if(pStrings) pStrings-&gt;Clear();

  // ICMP.DLL laden:
  HANDLE hIcmp = LoadLibrary(L&quot;ICMP.DLL&quot;);
  if(hIcmp == NULL)
  {
	if(pStrings) pStrings-&gt;Add(&quot;Could not load ICMP.DLL&quot;);
	return -1;
  }

  // Zeiger auf die Funktionen besorgen:
  PF_CMPCREATEFILE pfIcmpCreateFile = (PF_CMPCREATEFILE)
	GetProcAddress(hIcmp, &quot;IcmpCreateFile&quot;);          &lt;== hier Fehlermeldung!
  PF_ICMPCLOSEHANDLE pfIcmpCloseHandle = (PF_ICMPCLOSEHANDLE)
	GetProcAddress(hIcmp,&quot;IcmpCloseHandle&quot;);
  PF_ICMPSENDECHO pfIcmpSendEcho = (PF_ICMPSENDECHO)
	GetProcAddress(hIcmp,&quot;IcmpSendEcho&quot;);

  // Funktionszeiger prüfen:
  if (pfIcmpCreateFile == NULL || pfIcmpCloseHandle == NULL ||
	pfIcmpSendEcho == NULL)
  {
	if(pStrings) pStrings-&gt;Add(&quot;Error getting ICMP proc address&quot;);
	FreeLibrary(hIcmp);
	return -1;
  }

  // WinSock initialisieren
  WSADATA wsaData;
  int ilRetVal = WSAStartup(0x0101, &amp;wsaData );
  if(ilRetVal)
  {
	if(pStrings)
	  pStrings-&gt;Add(&quot;Winsock-Initialsierungsfehler: &quot; + IntToStr(ilRetVal));
    WSACleanup();
	FreeLibrary(hIcmp);
	return -1;
  }
  // Check WinSock version
  if(0x0101 != wsaData.wVersion)
  {
	if(pStrings)
	  pStrings-&gt;Add(&quot;Fehler: Winsock Version 1.1 oder höher nicht vorhanden !&quot;);
    WSACleanup();
	FreeLibrary(hIcmp);
	return -1;
  }

  // Prüfen, ob es sich bei der Zieladresse um IP-Adresse handelt und
  // ggf. den die Adresse zum Namen ermitteln:
  struct in_addr iaDest;  // Struktur für die Internet-Adresse
  iaDest.s_addr = inet_addr(slAddress.c_str());
  LPHOSTENT pHost;  // Zeiger auf die Host Entry Struktur
  if (iaDest.s_addr == INADDR_NONE) pHost = gethostbyname(slAddress.c_str());
  else pHost = gethostbyaddr((BYTE *)&amp;iaDest, sizeof(struct in_addr), AF_INET);
  if(pHost == NULL)
  {
	if(pStrings)
	  pStrings-&gt;Add(&quot;Fehler: Adresse &quot; + slAddress + &quot; wurde nicht gefunden !&quot;);
	WSACleanup();
	FreeLibrary(hIcmp);
	return -1;
  }

  if(pStrings)
	pStrings-&gt;Add(&quot;Ping an &quot; + AnsiString(pHost-&gt;h_name) + &quot;[&quot; +
	  AnsiString(inet_ntoa((*(LPIN_ADDR)pHost-&gt;h_addr_list[0]))) + &quot;]&quot;);

  // IP-Adresse kopieren
  DWORD* pAddress = (DWORD*)(*pHost-&gt;h_addr_list);

  // ICMP Echo Request Handle besorgen:
  HANDLE hIcmpFile = pfIcmpCreateFile();

  ICMPECHO icmpEcho;      // ICMP-Echo Antwortbuffer
  IPINFO ipInfo;          // IP-Optionenstruktur

  int ilTimeSum = 0;      // Summe der Round Trip Time-Daten
  int ilCount   = 0;      // Anzahl der Round Trip Time-Daten

  for (int ilPingNo = 0; ilPingNo &lt; 3; ilPingNo++)
  {
	// Default-Werte festlegen:
	::ZeroMemory(&amp;ipInfo, sizeof(ipInfo));
	ipInfo.bTimeToLive = 255;
    // ICMP Echo anfordern:
	pfIcmpSendEcho(hIcmpFile,   // Handle von IcmpCreateFile()
                   *pAddress,   // Ziel-IP Addresse
					NULL,       // Zeiger auf den Buffer mit den
								// zu sendenden Daten
					0,          // Buffergrösse in Bytes
                    &amp;ipInfo,    // Request-Optionen
					&amp;icmpEcho,  // Antwort-Buffer
                    sizeof(struct tagICMPECHO), // Buffergrösse
					5);      // Max. Wartezeit in Millisekunden  default:5000

	// Ergebnisse anzeigen:
    iaDest.s_addr = icmpEcho.dwSource;
	if(pStrings)
	{
	  AnsiString slMessage = &quot;Antwort von &quot;+AnsiString(
		inet_ntoa(iaDest)); //+ &quot;: Zeit=&quot; + IntToStr(icmpEcho.dwRTTime) +
		//&quot; ms, Time to Live=&quot; + IntToStr(icmpEcho.ipInfo.bTimeToLive) + &quot; ms&quot;;
      pStrings-&gt;Add(slMessage);
	}
    // falls Fehler aufgetreten:
	if(icmpEcho.dwStatus)
	{
	  if(pStrings)
		pStrings-&gt;Add(&quot;Fehler: IcmpEcho-Status&quot;); //=&quot; + IntToStr(icmpEcho.dwStatus));
	  break;
	}
	ilTimeSum += icmpEcho.dwRTTime;
	ilCount++;
	if(ilPingNo &lt; 2) Sleep(200);
  }

  // Echo-Request File Handle schliessen:
  pfIcmpCloseHandle(hIcmpFile);
  // ICMP.DLL freigeben:
  FreeLibrary(hIcmp);
  // Winsock schliessen:
  WSACleanup();

  // Den Mittelwert aller Round Trip Times zurückgeben:
  return ilRetVal = ilCount ? ilTimeSum/ilCount : -1;
}
</code></pre>
<p>Seit XE7 kommt in den Zeilen &quot;GetProcAddress(hIcmp, ...)&quot; die Fehlermeldung</p>
<pre><code>[bcc32 Fehler] Unit3.cpp(101): E2034 Konvertierung von 'void *' nach 'HINSTANCE__ *' nicht möglich
</code></pre>
<p>und</p>
<pre><code>[bcc32 Fehler] Unit3.cpp(101): E2342 Keine Übereinstimmung des Parametertyps 'hModule' ('HINSTANCE__ *' erwartet, 'void *' erhalten)
</code></pre>
<p>Hat jemand eine Idee? Danke!<br />
Oder hat jemand eine ganz andere Ping-Methode parat?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/336447/bcc32-fehler-keine-übereinstimmung-des-parametertyps-hmodule-hinstance__-erwartet</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 17:31:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/336447.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Jan 2016 16:44:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 16:44:15 GMT]]></title><description><![CDATA[<p>Hallo,<br />
in einer Anwendung mit c++ builder XE7 nutze ich zum Anpingen von Rechnern im Netzwerk folgenden Code (siehe auch bytesandmore-Artikel <a href="http://www.bytesandmore.de/rad/cpp/snipp/sc08012.php" rel="nofollow">http://www.bytesandmore.de/rad/cpp/snipp/sc08012.php</a>), der bisher (bis vor XE7) fehlerfrei compiliert wurde:</p>
<pre><code>#include &lt;winsock.h&gt;
#include &lt;winsock2.h&gt;
#include &lt;iphlpapi.h&gt;
#include &lt;icmpapi.h&gt;
#pragma comment(lib, &quot;iphlpapi.lib&quot;)
#pragma comment(lib, &quot;ws2_32.lib&quot;)
...

int PingHost(String slAddress, TStrings* pStrings)
{
  // Stringsliste leeren:
  if(pStrings) pStrings-&gt;Clear();

  // ICMP.DLL laden:
  HANDLE hIcmp = LoadLibrary(L&quot;ICMP.DLL&quot;);
  if(hIcmp == NULL)
  {
	if(pStrings) pStrings-&gt;Add(&quot;Could not load ICMP.DLL&quot;);
	return -1;
  }

  // Zeiger auf die Funktionen besorgen:
  PF_CMPCREATEFILE pfIcmpCreateFile = (PF_CMPCREATEFILE)
	GetProcAddress(hIcmp, &quot;IcmpCreateFile&quot;);          &lt;== hier Fehlermeldung!
  PF_ICMPCLOSEHANDLE pfIcmpCloseHandle = (PF_ICMPCLOSEHANDLE)
	GetProcAddress(hIcmp,&quot;IcmpCloseHandle&quot;);
  PF_ICMPSENDECHO pfIcmpSendEcho = (PF_ICMPSENDECHO)
	GetProcAddress(hIcmp,&quot;IcmpSendEcho&quot;);

  // Funktionszeiger prüfen:
  if (pfIcmpCreateFile == NULL || pfIcmpCloseHandle == NULL ||
	pfIcmpSendEcho == NULL)
  {
	if(pStrings) pStrings-&gt;Add(&quot;Error getting ICMP proc address&quot;);
	FreeLibrary(hIcmp);
	return -1;
  }

  // WinSock initialisieren
  WSADATA wsaData;
  int ilRetVal = WSAStartup(0x0101, &amp;wsaData );
  if(ilRetVal)
  {
	if(pStrings)
	  pStrings-&gt;Add(&quot;Winsock-Initialsierungsfehler: &quot; + IntToStr(ilRetVal));
    WSACleanup();
	FreeLibrary(hIcmp);
	return -1;
  }
  // Check WinSock version
  if(0x0101 != wsaData.wVersion)
  {
	if(pStrings)
	  pStrings-&gt;Add(&quot;Fehler: Winsock Version 1.1 oder höher nicht vorhanden !&quot;);
    WSACleanup();
	FreeLibrary(hIcmp);
	return -1;
  }

  // Prüfen, ob es sich bei der Zieladresse um IP-Adresse handelt und
  // ggf. den die Adresse zum Namen ermitteln:
  struct in_addr iaDest;  // Struktur für die Internet-Adresse
  iaDest.s_addr = inet_addr(slAddress.c_str());
  LPHOSTENT pHost;  // Zeiger auf die Host Entry Struktur
  if (iaDest.s_addr == INADDR_NONE) pHost = gethostbyname(slAddress.c_str());
  else pHost = gethostbyaddr((BYTE *)&amp;iaDest, sizeof(struct in_addr), AF_INET);
  if(pHost == NULL)
  {
	if(pStrings)
	  pStrings-&gt;Add(&quot;Fehler: Adresse &quot; + slAddress + &quot; wurde nicht gefunden !&quot;);
	WSACleanup();
	FreeLibrary(hIcmp);
	return -1;
  }

  if(pStrings)
	pStrings-&gt;Add(&quot;Ping an &quot; + AnsiString(pHost-&gt;h_name) + &quot;[&quot; +
	  AnsiString(inet_ntoa((*(LPIN_ADDR)pHost-&gt;h_addr_list[0]))) + &quot;]&quot;);

  // IP-Adresse kopieren
  DWORD* pAddress = (DWORD*)(*pHost-&gt;h_addr_list);

  // ICMP Echo Request Handle besorgen:
  HANDLE hIcmpFile = pfIcmpCreateFile();

  ICMPECHO icmpEcho;      // ICMP-Echo Antwortbuffer
  IPINFO ipInfo;          // IP-Optionenstruktur

  int ilTimeSum = 0;      // Summe der Round Trip Time-Daten
  int ilCount   = 0;      // Anzahl der Round Trip Time-Daten

  for (int ilPingNo = 0; ilPingNo &lt; 3; ilPingNo++)
  {
	// Default-Werte festlegen:
	::ZeroMemory(&amp;ipInfo, sizeof(ipInfo));
	ipInfo.bTimeToLive = 255;
    // ICMP Echo anfordern:
	pfIcmpSendEcho(hIcmpFile,   // Handle von IcmpCreateFile()
                   *pAddress,   // Ziel-IP Addresse
					NULL,       // Zeiger auf den Buffer mit den
								// zu sendenden Daten
					0,          // Buffergrösse in Bytes
                    &amp;ipInfo,    // Request-Optionen
					&amp;icmpEcho,  // Antwort-Buffer
                    sizeof(struct tagICMPECHO), // Buffergrösse
					5);      // Max. Wartezeit in Millisekunden  default:5000

	// Ergebnisse anzeigen:
    iaDest.s_addr = icmpEcho.dwSource;
	if(pStrings)
	{
	  AnsiString slMessage = &quot;Antwort von &quot;+AnsiString(
		inet_ntoa(iaDest)); //+ &quot;: Zeit=&quot; + IntToStr(icmpEcho.dwRTTime) +
		//&quot; ms, Time to Live=&quot; + IntToStr(icmpEcho.ipInfo.bTimeToLive) + &quot; ms&quot;;
      pStrings-&gt;Add(slMessage);
	}
    // falls Fehler aufgetreten:
	if(icmpEcho.dwStatus)
	{
	  if(pStrings)
		pStrings-&gt;Add(&quot;Fehler: IcmpEcho-Status&quot;); //=&quot; + IntToStr(icmpEcho.dwStatus));
	  break;
	}
	ilTimeSum += icmpEcho.dwRTTime;
	ilCount++;
	if(ilPingNo &lt; 2) Sleep(200);
  }

  // Echo-Request File Handle schliessen:
  pfIcmpCloseHandle(hIcmpFile);
  // ICMP.DLL freigeben:
  FreeLibrary(hIcmp);
  // Winsock schliessen:
  WSACleanup();

  // Den Mittelwert aller Round Trip Times zurückgeben:
  return ilRetVal = ilCount ? ilTimeSum/ilCount : -1;
}
</code></pre>
<p>Seit XE7 kommt in den Zeilen &quot;GetProcAddress(hIcmp, ...)&quot; die Fehlermeldung</p>
<pre><code>[bcc32 Fehler] Unit3.cpp(101): E2034 Konvertierung von 'void *' nach 'HINSTANCE__ *' nicht möglich
</code></pre>
<p>und</p>
<pre><code>[bcc32 Fehler] Unit3.cpp(101): E2342 Keine Übereinstimmung des Parametertyps 'hModule' ('HINSTANCE__ *' erwartet, 'void *' erhalten)
</code></pre>
<p>Hat jemand eine Idee? Danke!<br />
Oder hat jemand eine ganz andere Ping-Methode parat?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484343</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484343</guid><dc:creator><![CDATA[williman]]></dc:creator><pubDate>Fri, 22 Jan 2016 16:44:15 GMT</pubDate></item><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 16:57:02 GMT]]></title><description><![CDATA[<pre><code>HANDLE hIcmp = LoadLibrary(L&quot;ICMP.DLL&quot;);
</code></pre>
<p>HMODULE = HINSTANCE != HANDLE:<br />
Der Typ ist HMODULE oder HINSTANCE und nicht HANDLE. Dann kommt GetProcAddress auch klar.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484348</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484348</guid><dc:creator><![CDATA[hhhhhhhh]]></dc:creator><pubDate>Fri, 22 Jan 2016 16:57:02 GMT</pubDate></item><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 16:59:22 GMT]]></title><description><![CDATA[<p>Laut msdn müsste HINSTANCE das gleiche sein wie HANDLE, dh PVOID, dh void*. Bei dir wohl nicht, mach einfach einen reinterpret_cast rein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484349</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484349</guid><dc:creator><![CDATA[Techel]]></dc:creator><pubDate>Fri, 22 Jan 2016 16:59:22 GMT</pubDate></item><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 17:07:39 GMT]]></title><description><![CDATA[<blockquote>
<p>Laut msdn müsste HINSTANCE das gleiche sein wie HANDLE, dh PVOID, dh void*.</p>
</blockquote>
<p>Nein. laut msdn ist HINSTANCE ein Zeiger auf die __HINSTANCE Struktur und kein void pointer. HANDLE ist ein typedef für void*. HMODULE ist ein typedef für HINSTANCE.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484351</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484351</guid><dc:creator><![CDATA[hhhhhhhh]]></dc:creator><pubDate>Fri, 22 Jan 2016 17:07:39 GMT</pubDate></item><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 17:13:50 GMT]]></title><description><![CDATA[<p>Man scheint sich dann wohl nicht einig zu sein: <a href="https://msdn.microsoft.com/de-de/library/windows/desktop/aa383751(v=vs.85).aspx" rel="nofollow">https://msdn.microsoft.com/de-de/library/windows/desktop/aa383751(v=vs.85).aspx</a></p>
<blockquote>
<p>This type is declared in WinDef.h as follows:<br />
typedef HANDLE HINSTANCE;</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/2484353</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484353</guid><dc:creator><![CDATA[Techel]]></dc:creator><pubDate>Fri, 22 Jan 2016 17:13:50 GMT</pubDate></item><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 17:24:51 GMT]]></title><description><![CDATA[<p>Habe HANDLE durch HINSTANCE ersetzt u. scheint OK zu sein.<br />
Jedoch meckert der Compiler in der Zeile</p>
<pre><code>iaDest.s_addr = inet_addr(slAddress.c_str());
</code></pre>
<pre><code>E2342 Keine Übereinstimmung des Parametertyps 'name' ('const char *' erwartet, 'wchar_t *' erhalten)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2484358</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484358</guid><dc:creator><![CDATA[williman]]></dc:creator><pubDate>Fri, 22 Jan 2016 17:24:51 GMT</pubDate></item><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 17:36:54 GMT]]></title><description><![CDATA[<p>gelöst:</p>
<pre><code>LPCSTR(slAddress.c_str())
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2484359</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484359</guid><dc:creator><![CDATA[williman]]></dc:creator><pubDate>Fri, 22 Jan 2016 17:36:54 GMT</pubDate></item><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 17:43:17 GMT]]></title><description><![CDATA[<p>Solange LPCTSTR als den gleichen Typ definiert ist wie den, den String::c_str() zurückgibt, geht das gut. Ansonsten hast du ein Problem.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484360</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484360</guid><dc:creator><![CDATA[Techel]]></dc:creator><pubDate>Fri, 22 Jan 2016 17:43:17 GMT</pubDate></item><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 18:08:20 GMT]]></title><description><![CDATA[<p>Ja, habe es gerade gemerkt! Umwandlung klappt leider nicht. Hat jemand eine Idee?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484362</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484362</guid><dc:creator><![CDATA[williman]]></dc:creator><pubDate>Fri, 22 Jan 2016 18:08:20 GMT</pubDate></item><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 18:54:16 GMT]]></title><description><![CDATA[<p>Du musst halt einen ansi-string und keinen widestring übergeben. Die String Klasse sollte das schon handeln können...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484371</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484371</guid><dc:creator><![CDATA[hhhhhhhh]]></dc:creator><pubDate>Fri, 22 Jan 2016 18:54:16 GMT</pubDate></item><item><title><![CDATA[Reply to [bcc32 Fehler] Keine Übereinstimmung des Parametertyps hModule, HINSTANCE__ *&#x27; erwartet on Fri, 22 Jan 2016 20:12:21 GMT]]></title><description><![CDATA[<p>Entweder du konvertierst den String von UTF-16 nach ANSI. Wie das am einfachsten geht hängt von den zur Verfüngung stehenden Libs ab, und da ich den C++ Builder und seine Libs nicht kenne... =&gt; selber googeln.</p>
<p>Oder sonst könntest du <code>RtlIpv4StringToAddress</code> und/oder <code>RtlIpv6StringToAddress</code> verwenden (gibt es ab Windows Vista). Die kommen mit <code>wchar_t const*</code> klar.</p>
<p>Nur wird das wohl nicht der einzige Fehler sein den du beim Compilieren bekommen wirst. Ich vermute nämlich dass dein Projekt von ANSI auf UNICODE umgestellt wurde. (Wieso sonst sollte es jetzt auf einmal ein Problem mit inet_addr geben - was ja mit der HANDLE/HINSTANCE Geschichte überhaupt nix zu tun hat?) Und wenn du davor nie einen UNICODE Build hattest, dann wäre es einigermassen überraschend wenn das der einzige Fehler wäre.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2484377</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2484377</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Fri, 22 Jan 2016 20:12:21 GMT</pubDate></item></channel></rss>