This is an issue due to a forward declaration of the pcap_t structure that the MC++ does not like.
Please look at this answer (and related thread) I gave to a user having the same problem.
Have a nice day
----- Original Message -----
Sent: Thursday, December 02, 2004 10:13 AM
Subject: [WinPcap-users] Problem with pcap type

When I use a construction like:

pcap_t *adhandle;


adhandle = pcap_open_live(d->name, 65536, 1, 1000, errbuf);

I get an error message:

"An unhandled exception of type 'System.TypeLoadException' occurred in Unknown Module.
Additional information: Could not load type pcap from assembly Devlist, Version=1.0.1797.17501, Culture=neutral, PublicKeyToken=null."
I have WinXP, I develop under VC++ 7 (from .NET package), wpcap.dll is present in system but in output I get message like follow: 'Devlist.exe': Loaded 'C:\WINDOWS\system32\wpcap.dll', No symbols loaded.
Thanks in advance for any helps and suggestion!
Best regards,
Paweł Chmielarz.

Reply via email to