Dieser Artikel beschreibt ein Problem, dass beim Schließen eines Sockets im Kernelmodus in Windows Embedded Compact 7. Ein Update ist verfügbar, um dieses Problem zu beheben. Bevor Sie dieses Update installieren, müssen alle zuvor veröffentlichten Updates für dieses Produkt installiert.
Problembeschreibung
Betrachten Sie das folgende Szenario:
-
In Windows Embedded Compact 7 einen Kernel-Treiber einen Socket öffnen und Verwenden einer asynchronen e/a auf dem Sockel.
-
Sie führen die Funktion kein WSAEventSelect mit dem FD_CLOSE-Flag, und schließen Sie den Socket mithilfe der Funktion Abhörsockets .
-
Rufen Sie eine WaitForSingleObject -Funktion, die denselben Ereignishandles verwendet, die für die kein WSAEventSelect -Funktion verwendet.
In diesem Szenario gibt die Funktion WaitForSingleObject WAIT_FAILED. Nach dem Aufruf der Funktion Abhörsockets fehl die Funktionen WSAEnumNetworkEvents und WSAWaitForMultipleEvents mit WSA_INVALID_HANDLE Fehler.
Hinweis Die nicht blockierenden Abhörsockets Funktion initiiert ordnungsgemäßes Socket schließen. Dieser Prozess kann einige Datenaustausch umfassen. Der aufrufende Treiber muss WSAWaitForMultipleEvents und WSAEnumNetworkEvents -Funktionen verwenden, um ordnungsgemäßes Socket schließen warten können.
Problemlösung
Informationen zum Download
Die Windows Embedded Compact 7 monatlichen Update(January 2015) ist jetzt von Microsoft erhältlich. Gehen Sie zum Herunterladen dieses monatlichen Updates auf der folgenden Microsoft Download Center-Website:
Updates für Windows Embedded Compact 7
Die Art von Prozessor gilt jede Datei wird im Namen jeder Datei im Abschnitt "Dateiinformationen" angezeigt.
Weitere Informationen
Neustartanforderung
Nach der Installation dieses Updates müssen Sie die gesamte Plattform neu erstellen. Verwenden Sie hierzu eine der folgenden Methoden:
-
Im Menü Erstellen auf Projektmappe bereinigenund dann auf Projektmappe erstellen.
-
Klicken Sie im Menü Erstellen auf Projektmappe neu erstellen.
Sie müssen keinen Neustart des Computers, nachdem Sie dieses Update anwenden.
Ersetzte Updates
Dieses Update ersetzt keine anderen Updates.
Die englische Version dieses Softwareupdatepakets Dateiattribute (oder höher) ist in der folgenden Tabelle aufgeführt. Die Datums- und Uhrzeitangaben für diese Dateien sind in Coordinated Universal Time (UTC) aufgelistet. Wenn Sie die Dateiinformationen anzeigen, werden sie in die lokale Zeit konvertiert. Um die Differenz zwischen UTC und der Ortszeit zu finden, verwenden Sie die Registerkarte Zeitzone unter Datum und Uhrzeit in der Systemsteuerung.
In diesem Hotfix-Paket enthaltenen Dateien
Dateiname |
Dateigröße |
Datum |
Zeit |
Pfad |
---|---|---|---|---|
Afd.dll |
118,784 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Retail |
Afd.map |
100,183 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Retail |
Afd.rel |
40.048 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Retail |
Afd.dll |
303,104 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Debug |
Afd.map |
217,159 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Debug |
Afd.rel |
135,864 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Debug |
Afd.dll |
212,992 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Checked |
Afd.map |
211,089 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Checked |
Afd.rel |
105,675 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Checked |
Afd.dll |
159,744 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv5\Retail |
Afd.map |
98,325 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv5\Retail |
Afd.rel |
50,314 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv5\Retail |
Afd.dll |
405.504 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv5\Debug |
Afd.map |
219,986 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv5\Debug |
Afd.rel |
101,673 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv5\Debug |
Afd.dll |
262.144 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv5\Checked |
Afd.map |
211,463 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv5\Checked |
Afd.rel |
95,670 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv5\Checked |
Afd.dll |
159,744 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Retail |
Afd.map |
98,325 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Retail |
Afd.rel |
50,314 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Retail |
Afd.dll |
401,408 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv6\Debug |
Afd.map |
219,984 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv6\Debug |
Afd.rel |
101,673 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv6\Debug |
Afd.dll |
262.144 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Checked |
Afd.map |
211,464 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Checked |
Afd.rel |
95,670 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Checked |
Afd.dll |
159,744 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv7\Retail |
Afd.map |
98,198 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv7\Retail |
Afd.rel |
50,285 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv7\Retail |
Afd.dll |
397,312 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv7\Debug |
Afd.map |
219,986 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv7\Debug |
Afd.rel |
101,673 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv7\Debug |
Afd.dll |
258,048 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv7\Checked |
Afd.map |
211,460 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv7\Checked |
Afd.rel |
95,670 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv7\Checked |
Afd.dll |
204,800 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Mipsii\Retail |
Afd.map |
95,869 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Mipsii\Retail |
Afd.rel |
187,571 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Mipsii\Retail |
Afd.dll |
454,656 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Debug |
Afd.map |
217,445 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Debug |
Afd.rel |
448,165 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Debug |
Afd.dll |
335,872 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Checked |
Afd.map |
208,955 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Checked |
Afd.rel |
340,140 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Checked |
Afd.dll |
204,800 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Retail |
Afd.map |
95,869 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Retail |
Afd.rel |
187,571 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Retail |
Afd.dll |
454,656 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii_fp\Debug |
Afd.map |
217,444 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii_fp\Debug |
Afd.rel |
448,165 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii_fp\Debug |
Afd.dll |
335,872 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Checked |
Afd.map |
208,954 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Checked |
Afd.rel |
340,140 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Checked |
Afd.dll |
147.456 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Sh4\Retail |
Afd.map |
98,661 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Sh4\Retail |
Afd.rel |
107,560 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Sh4\Retail |
Afd.dll |
327,680 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Debug |
Afd.map |
220,362 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Debug |
Afd.rel |
180,785 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Debug |
Afd.dll |
241,664 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Checked |
Afd.map |
211,464 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Checked |
Afd.rel |
162,544 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Checked |
Afd.lib |
2.032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Retail |
Afd.exp |
973 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Retail |
Afd.lib |
2.032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Debug |
Afd.exp |
972 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Debug |
Afd.lib |
2.032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Checked |
Afd.exp |
974 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Checked |
Afd.lib |
2026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv5\Retail |
Afd.exp |
965 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv5\Retail |
Afd.lib |
2026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv5\Debug |
Afd.exp |
964 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv5\Debug |
Afd.lib |
2026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv5\Checked |
Afd.exp |
966 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv5\Checked |
Afd.lib |
2026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv6\Retail |
Afd.exp |
965 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv6\Retail |
Afd.lib |
2026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv6\Debug |
Afd.exp |
964 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv6\Debug |
Afd.lib |
2026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv6\Checked |
Afd.exp |
966 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv6\Checked |
Afd.lib |
2026 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Lib\Armv7\Retail |
Afd.exp |
965 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Lib\Armv7\Retail |
Afd.lib |
2026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv7\Debug |
Afd.exp |
964 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv7\Debug |
Afd.lib |
2026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv7\Checked |
Afd.exp |
966 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv7\Checked |
Afd.lib |
2026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Mipsii\Retail |
Afd.exp |
966 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Mipsii\Retail |
Afd.lib |
2026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii\Debug |
Afd.exp |
965 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii\Debug |
Afd.lib |
2026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii\Checked |
Afd.exp |
967 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii\Checked |
Afd.lib |
2026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Retail |
Afd.exp |
969 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Retail |
Afd.lib |
2026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Debug |
Afd.exp |
968 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Debug |
Afd.lib |
2026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Checked |
Afd.exp |
970 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Checked |
Afd.lib |
2.032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Retail |
Afd.exp |
973 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Retail |
Afd.lib |
2.032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Debug |
Afd.exp |
972 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Debug |
Afd.lib |
2.032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Checked |
Afd.exp |
974 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Checked |
Status
Microsoft hat bestätigt, dass es sich um ein Problem bei den Microsoft-Produkten handelt, die im Abschnitt „Eigenschaften“ aufgeführt sind.
Referenzen
Erfahren Sie mehr über standard-Terminologie, mit dem Microsoft-Softwareupdates beschrieben.