On Sat, Nov 13, 2010 at 5:51 AM, Gianluca Varenni < [email protected]> 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 <[email protected]> > *Sent:* Sunday, November 07, 2010 12:16 AM > *To:* [email protected] > *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 > [email protected] > https://www.winpcap.org/mailman/listinfo/winpcap-users > > _______________________________________________ > Winpcap-users mailing list > [email protected] > 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,
_______________________________________________ Winpcap-users mailing list [email protected] https://www.winpcap.org/mailman/listinfo/winpcap-users
