Hi, Yes. I built a debug version of GetAdapterNames and include it in my WinPcap-based application. So, I always have the debug information instead of coping "a debug packet.dll to ordinal packet.dll". Do you have a cure for my case?
Yours sincerely, Alex Bash ----- Original Message ----- From: "Dave Richards" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 07, 2002 1:15 AM Subject: Re: [WinPcap-users] PacketGetAdapterNames fills first 4 bytes to zero > Have you tried building a debug Packet.dll and stepping through > PacketGetAdapterNames? It looks like the strings mined from the registry > are OK, so your problem should be in PacketGetAdapterNames. > > Dave Richards > [EMAIL PROTECTED] > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, November 06, 2002 11:48 AM > Subject: [WinPcap-users] PacketGetAdapterNames fills first 4 bytes to zero > . > . > . > > PacketGetAdapterNames returns nothing... :( I see a buffer after a call of > > PacketAdapterNames. It seems that it contains true data about adapters > > installed but the first 4 bytes are zero. As result, WinPcap can't detect > > adapters. Here is the dump of buffer filled by PacketGetAdapterNames > (first > > 20 bytes): > > > > 00 00 00 00 65 00 76 00 69 00 63 00 65 00 5c 00 4e 00 50 00 > > > > ================================================================== > This is the WinPcap users list. It is archived at > http://www.mail-archive.com/winpcap-users@;winpcap.polito.it/ > > To unsubscribe use > mailto: [EMAIL PROTECTED]?body=unsubscribe > ================================================================== > - > > - > > ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/winpcap-users@;winpcap.polito.it/ To unsubscribe use mailto: [EMAIL PROTECTED]?body=unsubscribe ==================================================================
