Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
SendARP
|
|||
|---|---|---|---|
|
#18+
Моя программа использует функцию SendARP. Успешно получает MAC адрес при запуске под XP, но возвращает ошибку 1168 (ERROR_NOT_FOUND) при запуске под WIN 7. И от имени администратора тоже. В чём может быть дело? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.01.2017, 08:01 |
|
||
|
SendARP
|
|||
|---|---|---|---|
|
#18+
Почитай описаловку, там что-то поменялось со времен XP https://msdn.microsoft.com/ru-ru/library/windows/desktop/aa366358(v=vs.85).aspx On Windows Vista and later, a NULL pointer passed as the pMacAddr or PhyAddrLen parameter to the SendARP function causes an access violation and the application is terminated. If an error occurs on Windows Vista and later and ERROR_BAD_NET_NAME, ERROR_BUFFER_OVERFLOW, or ERROR_NOT_FOUND is returned, the ULONG value pointed to by the PhyAddrLen parameter is set to zero. If the ULONG value pointed to by the PhyAddrLen parameter is less than 6 on Windows Vista and later, SendARP function returns ERROR_BUFFER_OVERFLOW indicating the buffer to receive the physical address is too small. If the SrcIp parameter specifies an IPv4 address that is not an interface on the local computer, the SendARP function on Windows Vista and later returns ERROR_NOT_FOUND. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.01.2017, 08:16 |
|
||
|
SendARP
|
|||
|---|---|---|---|
|
#18+
Спасибо, действительно я невнимательно прочитал. Причина действительно была: If the SrcIp parameter specifies an IPv4 address that is not an interface on the local computer, the SendARP function on Windows Vista and later returns ERROR_NOT_FOUND. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.01.2017, 08:32 |
|
||
|
|

start [/forum/topic.php?fid=57&fpage=31&tid=2018320]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
61ms |
get topic data: |
12ms |
get forum data: |
2ms |
get page messages: |
40ms |
get tp. blocked users: |
1ms |
| others: | 270ms |
| total: | 417ms |

| 0 / 0 |
