<?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[Win Inet ( schonwieder ^^ )]]></title><description><![CDATA[<p>ich nerv schonwieder mit wininet ^^</p>
<p>weis jmd. wo hier das Problem liegt ? Ich bekomme immer ein ungültiges hUrl <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<pre><code class="language-cpp">int ConnectToServer(HWND hWnd)
{
	TCHAR user[25] = _T(&quot;noha_391&quot;);
	TCHAR pwd[25] = _T(&quot;PASSWORD&quot;);
	TCHAR url[64] = _T(&quot;ftp.cpetzold.com&quot;);
	WIN32_FIND_DATA data;
	HINTERNET hInternet ;
	hInternet = InternetOpen(_T(&quot;Microsoft Internet Explorer&quot;),INTERNET_OPEN_TYPE_PRECONFIG,0,0,INTERNET_FLAG_ASYNC);
	if(!hInternet)
	{
		MessageBox(hWnd,_T(&quot;hInternet nicht gültig&quot;),0,0);
		return 1;
	}
	HINTERNET hUrl = InternetConnectW(hInternet,url,INTERNET_DEFAULT_FTP_PORT,user,pwd,INTERNET_SERVICE_FTP,0,0);
	if(!hUrl)
	{
		MessageBox(hWnd,_T(&quot;hUrl nicht gültig&quot;),0,0);
		return 2;
	}

	FtpFindFirstFileW(hUrl,NULL,&amp;data,NULL,NULL);

	CloseHandle(hInternet);
	CloseHandle(hUrl);
	MessageBox(hWnd,data.cFileName,0,0);
	return 3;
}
</code></pre>
<p>bitte um Hilfe,</p>
<p>mfG noha</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/194288/win-inet-schonwieder</link><generator>RSS for Node</generator><lastBuildDate>Tue, 30 Jun 2026 06:40:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/194288.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Oct 2007 19:42:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Win Inet ( schonwieder ^^ ) on Thu, 04 Oct 2007 19:43:50 GMT]]></title><description><![CDATA[<p>ich nerv schonwieder mit wininet ^^</p>
<p>weis jmd. wo hier das Problem liegt ? Ich bekomme immer ein ungültiges hUrl <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<pre><code class="language-cpp">int ConnectToServer(HWND hWnd)
{
	TCHAR user[25] = _T(&quot;noha_391&quot;);
	TCHAR pwd[25] = _T(&quot;PASSWORD&quot;);
	TCHAR url[64] = _T(&quot;ftp.cpetzold.com&quot;);
	WIN32_FIND_DATA data;
	HINTERNET hInternet ;
	hInternet = InternetOpen(_T(&quot;Microsoft Internet Explorer&quot;),INTERNET_OPEN_TYPE_PRECONFIG,0,0,INTERNET_FLAG_ASYNC);
	if(!hInternet)
	{
		MessageBox(hWnd,_T(&quot;hInternet nicht gültig&quot;),0,0);
		return 1;
	}
	HINTERNET hUrl = InternetConnectW(hInternet,url,INTERNET_DEFAULT_FTP_PORT,user,pwd,INTERNET_SERVICE_FTP,0,0);
	if(!hUrl)
	{
		MessageBox(hWnd,_T(&quot;hUrl nicht gültig&quot;),0,0);
		return 2;
	}

	FtpFindFirstFileW(hUrl,NULL,&amp;data,NULL,NULL);

	CloseHandle(hInternet);
	CloseHandle(hUrl);
	MessageBox(hWnd,data.cFileName,0,0);
	return 3;
}
</code></pre>
<p>bitte um Hilfe,</p>
<p>mfG noha</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1378166</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1378166</guid><dc:creator><![CDATA[noha_391]]></dc:creator><pubDate>Thu, 04 Oct 2007 19:43:50 GMT</pubDate></item><item><title><![CDATA[Reply to Win Inet ( schonwieder ^^ ) on Thu, 04 Oct 2007 19:44:19 GMT]]></title><description><![CDATA[<p>GetLastError() weiß es.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1378169</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1378169</guid><dc:creator><![CDATA[tenchou]]></dc:creator><pubDate>Thu, 04 Oct 2007 19:44:19 GMT</pubDate></item><item><title><![CDATA[Reply to Win Inet ( schonwieder ^^ ) on Thu, 04 Oct 2007 19:54:36 GMT]]></title><description><![CDATA[<p>get last error sagt:</p>
<p>ERROR_SUCCESS<br />
0<br />
The operation completed successfully.</p>
<p>??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1378181</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1378181</guid><dc:creator><![CDATA[noha_391]]></dc:creator><pubDate>Thu, 04 Oct 2007 19:54:36 GMT</pubDate></item></channel></rss>