[Winpcap-users] Winpcap library incompatible with wxWidgets library?

Chin Shi Hong cshong87 at gmail.com
Fri Nov 12 18:10:03 PST 2010


On Sat, Nov 13, 2010 at 5:51 AM, Gianluca Varenni <
gianluca.varenni at cacetech.com> wrote:

>  Do you have a sample wxWidgets based application showing the issue that
> you can send me? I don't need the sources, just binary.
>
> Also, which version of Windows and WinPcap are you using?
>
> Have a nice day
> GV
>
>  *From:* Chin Shi Hong <cshong87 at gmail.com>
> *Sent:* Sunday, November 07, 2010 12:16 AM
> *To:* winpcap-users at winpcap.org
> *Subject:* [Winpcap-users] Winpcap library incompatible with wxWidgets
> library?
>
> Dear All,
>
> No problem if I use Winpcap library without other libraries.
>
> But, if I use Winpcap library in a wxWidgets based GUI program, I tried to
> display the index number of network adapters' name in a VomboBox, the
> pcap_findalldevs() function do not return error but fails to detect all
> Network Adapters on my computer.
>
> What may had caused the problem?
>
> I MUST use both Winpcap and wxWidgets library.
>
> So, what should I do now?
>
> Please do not hestitate to request for my source codes if you need it.
>
> ------------------------------
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
Hi,

I found that the problem will occur if I don't use multi-threading. I had
solved the problem by creating another thread (use wxThread class) for
winpcap's functions.

If I got free time, I will create another wxWidgets and winpcap based
application without multi-threading, then post the source to the development
mailing list of both wxWidgets and winpcap so that developers of both sides
can fix the problem.

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20101113/58d53439/attachment.htm 


More information about the Winpcap-users mailing list