In questo articolo viene descritto un problema che si verifica quando si chiude un socket in modalità kernel in Windows Embedded Compact 7. Un aggiornamento è disponibile per risolvere il problema. Prima di installare questo aggiornamento, è necessario installare tutti gli aggiornamenti rilasciati in precedenza per questo prodotto.
Sintomi
Si consideri lo scenario seguente:
-
In Windows Embedded Compact 7, aprire un socket da un driver del kernel e utilizzare un / o asincroni sul socket.
-
Si esegue la funzione WSAEventSelect con il flag FD_CLOSE e quindi si chiude il socket utilizzando la funzione di chiusura del .
-
Chiamare una funzione WaitForSingleObject che utilizza stesso handle di eventi che vengono utilizzati per la funzione WSAEventSelect .
In questo scenario, la funzione WaitForSingleObject restituisce WAIT_FAILED. Dopo la chiamata alla funzione la chiusura del socket , le funzioni WSAEnumNetworkEvents e WSAWaitForMultipleEvents non con un errore WSA_INVALID_HANDLE.
Nota: La funzione la chiusura del socket non bloccante avvia la chiusura normale di socket. Questo processo potrebbe richiedere alcuni dati di exchange. Il driver di chiamata deve essere in grado di utilizzare le funzioni di WSAEnumNetworkEvents di WSAWaitForMultipleEvents e per attendere la chiusura regolare socket.
Risoluzione
Informazioni sul download
Il Windows Embedded Compact 7 mensile Update(January 2015) è ora disponibile da Microsoft. Per scaricare questo aggiornamento mensile, visitare il seguente sito Web Microsoft Download Center:
Aggiornamenti di Windows Embedded Compact 7
Il tipo di processore che riguardano ciascun file è visibile il nome di ogni file nella sezione "Informazioni sui File".
Ulteriori informazioni
Richiesta di riavvio
Dopo avere applicato questo aggiornamento, è necessario eseguire una generazione pulita dell'intera piattaforma. A tale scopo, utilizzare uno dei seguenti metodi:
-
Fare clic su Pulisci soluzionedal menu Genera e quindi scegliere Genera soluzione.
-
Scegliere Ricompila soluzione dal menu Compila .
Non è necessario riavviare il computer dopo avere applicato questo aggiornamento software.
Informazioni sulla sostituzione dell'aggiornamento
Questo aggiornamento non sostituisce eventuali altri aggiornamenti.
La versione inglese di questo pacchetto di aggiornamento software presenta gli attributi di file (o attributi successivi) elencati nella tabella riportata di seguito. Le date e ore dei file sono elencate in base al formato UTC (Coordinated Universal Time Coordinated). Quando si visualizzano le informazioni sul file, viene convertito in ora locale. Per calcolare la differenza tra ora UTC e ora locale, utilizzare la scheda fuso orario nell'elemento di Data e ora nel Pannello di controllo.
File inclusi in questo pacchetto hotfix
Nome del file |
Dimensione del file |
Data |
Ora |
Percorso |
---|---|---|---|---|
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
2,026 |
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 |
Stato
Microsoft ha confermato che questo è un problema dei prodotti Microsoft elencati nella sezione "Si applica a".
Riferimenti
Informazioni sulla terminologia standard utilizzata per descrivere gli aggiornamenti software Microsoft.