first of all, try a wpcap-based application like windump or ethereal, and check if they return something more than your application in the adapter list. This allows to ensure that you parse the buffer returned by PacketGetAdapterNames() in the correct way, and that you aren't victim of one of the changes in the recent versions of packet.dll.
If you find out that the problem is in winpcap and not in your code, there's the chance that the users's network adapter is not supported. This could happen for example with USB ADSL connections, if they don't rely on a clean interfacing with NDIS.
In every case, if you want to dump the registry hives relevant for adapters retrival to disk, looks like we had the same idea. Just define _DEBUG_TO_FILE before compiling packet.dll: this creates the bug-report dll that we provide at http://winpcap.polito.it/contact.htm to get complaints from users.
Loris
Hi
Some of the users of my SW, using Winpcap (3.1) , report me that
"PacketGetAdapterNames( )" returns FALSE, or returns TRUE, but when looking
at the AdapterNames returned by the API, all there is is an "e", even after
fresh installation + machine rebooting
The users however, always have either Cable or ADSL connections via USB or
PCI cards with Window XP, therefore at least a Network Connection should
exist ( either Generic Ndiswan or another , in case of Cable connexion )
My question: Given the fact that PacketGetAdapterNames checks a few registry
hives, does it makes sense to ask the user(s) for registry hives, so that I
can reproduce the problem? If so, which hives to ask for ?
I remember I did it once with 9x, replacing my hives with the users hives and I actually found out a fault in Winpcap 2.x parsing, but this was long time ago, and with a different OS...
Thanx
Pedro Lucas http://netcount.no-ip.com
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use
mailto: [EMAIL PROTECTED]
==================================================================
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================
