Este artigo descreve um problema que ocorre quando fechar um socket em modo de kernel no Windows Embedded Compact 7. Existe uma actualização resolver este problema. Antes de instalar esta actualização, tem de ser instaladas todas as actualizações anteriormente disponibilizadas para este produto.
Sintomas
Considere o seguinte cenário:
-
No Windows Embedded Compact 7, pode abre um socket a partir de um controlador de kernel e utilizar uma e/s assíncrona no socket.
-
Executar a função de WSAEventSelect em conjunto com o sinalizador FD_CLOSE e, em seguida, feche o socket utilizando a função closesocket .
-
Chamar uma função de WaitForSingleObject que utiliza as mesmas alças de eventos que são utilizadas para a função WSAEventSelect .
Neste cenário, a função de WaitForSingleObject devolve WAIT_FAILED. Após a chamada à função closesocket , as funções WSAEnumNetworkEvents e WSAWaitForMultipleEvents falharem com um erro WSA_INVALID_HANDLE.
Nota A função closesocket demasiados inicia o encerramento do socket sem problemas. Este processo pode envolver alguns intercâmbio de dados. O controlador de chamada tem de ser possível utilizar as funções de WSAEnumNetworkEvents e WSAWaitForMultipleEvents para aguardar o encerramento do socket sem problemas.
Resolução
Informações de transferência
O Windows Embedded Compact 7 mensal Update(January 2015) está agora disponível da Microsoft. Para transferir esta actualização mensal, vá para o seguinte Web site da Microsoft Download Center:
Actualizações do Windows Embedded Compact 7
O tipo de processador que cada ficheiro aplica-se a está visível em nome de cada ficheiro na secção "Informações de ficheiros".
Mais informações
Requisito de reinício
Depois de aplicar esta actualização, deve efectuar uma limpeza de toda a plataforma. Para tal, utilize um dos seguintes métodos:
-
No menu de criação , clique Solução limpoe, em seguida, clique em Criar solução.
-
No menu de criação , clique em Reconstruir solução.
Não é necessário reiniciar o computador depois de aplicar esta actualização de software.
Atualizar informações de substituição
Esta actualização não substitui quaisquer outras actualizações.
A versão inglesa deste pacote de actualização de software tem os atributos de ficheiro (ou atributos de ficheiro posteriores) listados na seguinte tabela. As datas e horas destes ficheiros são listadas na hora Universal Coordenada (UTC). Quando visualiza as informações do ficheiro, é convertido para a hora local. Para determinar a diferença entre a UTC e a hora local, utilize o separador Fuso horário no item data e hora no painel de controlo.
Ficheiros que estão incluídos neste pacote de correcção
Nome do ficheiro |
Tamanho do ficheiro |
Data |
Hora |
Caminho |
---|---|---|---|---|
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 |
Estado
A Microsoft confirmou que este é um problema nos produtos da Microsoft listados na secção "Aplica-se a".
Referências
Obter informações sobre a terminologia padrão utilizada para descrever actualizações de software da Microsoft.